Closed rwatts3 closed 6 years ago
Yes they are standard language servers, you can run them with
npm install -g vscode-html-languageserver-bin
html-languageserver --stdio
But for the moment I want to setup them with neovim and https://github.com/autozimu/LanguageClient-neovim before writing the doc
Perfect thank you On Fri, Sep 15, 2017 at 8:10 AM David Duarte notifications@github.com wrote:
Yes they are standard language servers, you can run them with
npm install -g vscode-html-languageserver-bin html-languageserver --stdio
But for the moment I want to setup them with neovim and https://github.com/autozimu/LanguageClient-neovim before writing the doc
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vscode-langservers/vscode-html-languageserver-bin/issues/1#issuecomment-329810747, or mute the thread https://github.com/notifications/unsubscribe-auth/AFFsSUcNyUnebw_vjlIWoRg-2akV-ZtQks5sipNfgaJpZM4PVPHt .
--
-V/R
Ryan Watts
Any instructions or tests with atom ? On Fri, Sep 15, 2017 at 9:12 AM Ryan Watts ryandwatts@gmail.com wrote:
Perfect thank you On Fri, Sep 15, 2017 at 8:10 AM David Duarte notifications@github.com wrote:
Yes they are standard language servers, you can run them with
npm install -g vscode-html-languageserver-bin html-languageserver --stdio
But for the moment I want to setup them with neovim and https://github.com/autozimu/LanguageClient-neovim before writing the doc
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vscode-langservers/vscode-html-languageserver-bin/issues/1#issuecomment-329810747, or mute the thread https://github.com/notifications/unsubscribe-auth/AFFsSUcNyUnebw_vjlIWoRg-2akV-ZtQks5sipNfgaJpZM4PVPHt .
--
-V/R
Ryan Watts
--
-V/R
Ryan Watts
I don't use Atom but I will try to setup it this week end. You want to use this LanguageServer with the new atom-ide ?
Correct, I have it setup in a plugin already , probably not published to github. However this language server along with other seems to contain configuration and setup that specifically talk to vscode.
Hi, thanks for that! I just installed this to test with Neovim - seems to work well!
Did you managed to configure the autocompletion for HTML?
sudo npm install -g vscode-html-languageserver-bin
let g:LanguageClient_serverCommands = {}
let g:LanguageClient_serverCommands.html = ['html-languageserver', '--stdio']
Inside a HTML file:
:LanguageClientStart
:set omnifunc=LanguageClient#complete
This is working:
:call LanguageClient_textDocument_hover()
The autocompletion not much.
I get tag suggestions in HTML files, using deoplete, and I see it comes from the Language Client. Not sure about omnicomplete though - I get results but from source 'm'. I don't know what else should be completed in HTML, I don't see attribute names being suggested by LC.
Completion with this language server need snippets supports, currently LanguageClient_neovim support snippets only with NCM (full support) and Deoplete (Partial Support) However completion should not work with LanguageClient_neovim because it dosen't send client capabilities. I modified it locally but I dosen't sent a PR yet I will try to add documentation and send a PR to LanguageClient_neovim this week end
I added some setup instructions in the README
Is there any documentation on how to use the language servers outside of vscode ? Are they standard language servers.