diff options
| author | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-11-15 17:26:22 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-15 17:26:22 -0800 |
| commit | 5686a90890105e6271307e86b472f729af1cc4f8 (patch) | |
| tree | 7d691ac0e7ea2feb58c5862dd52a1c8bfbef6fb4 /plugin | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-5686a90890105e6271307e86b472f729af1cc4f8.tar nvim-lspconfig-5686a90890105e6271307e86b472f729af1cc4f8.tar.gz nvim-lspconfig-5686a90890105e6271307e86b472f729af1cc4f8.tar.bz2 nvim-lspconfig-5686a90890105e6271307e86b472f729af1cc4f8.tar.lz nvim-lspconfig-5686a90890105e6271307e86b472f729af1cc4f8.tar.xz nvim-lspconfig-5686a90890105e6271307e86b472f729af1cc4f8.tar.zst nvim-lspconfig-5686a90890105e6271307e86b472f729af1cc4f8.zip | |
Redo installation. (#17)
* Redo installation.
Servers which want to be auto installed should specify
skeleton[name].install()
and it will be automatically added to the list of installable servers.
- Add :LspInstall and :LspInstallInfo
- Auto generate docs for servers with .install() available.
- Add util.npm_installer
- Refactor utf8 capabilities common config into a single function
- Add contribution notes.
- Also expose util.base_install_dir for other installers potentially
- Fix tsserver's arguments and add javascript filetypes
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/nvim_lsp.vim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugin/nvim_lsp.vim b/plugin/nvim_lsp.vim new file mode 100644 index 00000000..bffab637 --- /dev/null +++ b/plugin/nvim_lsp.vim @@ -0,0 +1,11 @@ +function! s:complete_server_names(A,L,P) abort + return luaeval("table.concat(require'nvim_lsp'.available_servers(), '\\n')") +endfunction + +function! s:complete_installable_server_names(A,L,P) abort + return luaeval("table.concat(require'nvim_lsp'.installable_servers(), '\\n')") +endfunction + +lua << EOF +require'nvim_lsp'._root._setup() +EOF |
