diff options
| author | Chris <[email protected]> | 2021-03-23 23:52:35 -0400 | 
|---|---|---|
| committer | Chris <[email protected]> | 2021-03-23 23:52:35 -0400 | 
| commit | 6c8bcbca684a0676b47bd302f76739ada0b4f2cd (patch) | |
| tree | 0cef46ecbe87190c927a4b6f3b3f319d45448e0c | |
| parent | ac1f0d3cb06d20f1c43c0e3f230aec3fe122cbc2 (diff) | |
updates
| -rw-r--r-- | README.md | 13 | ||||
| -rw-r--r-- | lua/lsp/html-ls.lua | 5 | 
2 files changed, 10 insertions, 8 deletions
| @@ -9,7 +9,7 @@ on this repo, there is one for CoC and one for Native LSP  Make sure you have the newest version of Neovim -```bash +``` bash  bash <(curl -s https://raw.githubusercontent.com/ChristianChiarulli/nvim/master/utils/installer/install.sh)  ``` @@ -66,9 +66,13 @@ $HOME/.config/nvim/vimscript/nv-vscode/init.vim  To install a supported language server: +``` bash +  :LspInstall <your_language_server>  ``` -:LspInstall <your_language_server> -``` + +The only Language servers supported this way currently are `Python`, +`Javascript` and `Lua` the rest you will need to globally install and +configure under `lua/lsp/<your_lang.lua>`  For a more in depth LSP support:  [link](https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md) @@ -169,6 +173,7 @@ To set up your particular debugger, look here:  **PLUGIN BUGS**  - html snippets are broken with vsnip -- finding files from dashboard sometimes number not set (using startify for now) +- finding files from dashboard sometimes number not set (using startify +  for now)  - keep and eye on indent guides plugin for thin lines  - better auto-import (jsx) diff --git a/lua/lsp/html-ls.lua b/lua/lsp/html-ls.lua index 8a13abdb..94908031 100644 --- a/lua/lsp/html-ls.lua +++ b/lua/lsp/html-ls.lua @@ -2,7 +2,4 @@  local capabilities = vim.lsp.protocol.make_client_capabilities()  capabilities.textDocument.completion.completionItem.snippetSupport = true -require'lspconfig'.html.setup { -    on_attach = require'lsp'.common_on_attach, -    capabilities = capabilities -} +require'lspconfig'.html.setup {on_attach = require'lsp'.common_on_attach, capabilities = capabilities} | 
