diff options
| author | Andrej Benz <hello@benz.dev> | 2020-12-11 09:26:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-11 09:26:34 +0100 |
| commit | b7612bafe4e06972a15075e1dbc5e7c3f926ea91 (patch) | |
| tree | 48d95e3c9e2c5dccf478f5fe89f624829f273094 /plugin | |
| parent | changed filepath (diff) | |
| parent | Merge pull request #438 from HiPhish/kotlin (diff) | |
| download | nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.gz nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.bz2 nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.lz nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.xz nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.tar.zst nvim-lspconfig-b7612bafe4e06972a15075e1dbc5e7c3f926ea91.zip | |
Merge branch 'master' into master
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/lspconfig.vim | 14 | ||||
| -rw-r--r-- | plugin/nvim_lsp.vim | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/plugin/lspconfig.vim b/plugin/lspconfig.vim new file mode 100644 index 00000000..bcefbc39 --- /dev/null +++ b/plugin/lspconfig.vim @@ -0,0 +1,14 @@ +if exists('g:lspconfig') + finish +endif +let g:lspconfig = 1 + +lua << EOF +lsp_complete_installable_servers = function() + return table.concat(require'lspconfig'.available_servers(), '\n') +end +lsp_complete_servers = function() + return table.concat(require'lspconfig'.installable_servers(), '\n') +end +require'lspconfig'._root._setup() +EOF diff --git a/plugin/nvim_lsp.vim b/plugin/nvim_lsp.vim deleted file mode 100644 index a62fc1ca..00000000 --- a/plugin/nvim_lsp.vim +++ /dev/null @@ -1,14 +0,0 @@ -if exists('g:nvim_lsp') - finish -endif -let g:nvim_lsp = 1 - -lua << EOF -lsp_complete_installable_servers = function() - return table.concat(require'nvim_lsp'.available_servers(), '\n') -end -lsp_complete_servers = function() - return table.concat(require'nvim_lsp'.installable_servers(), '\n') -end -require'nvim_lsp'._root._setup() -EOF |
