diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-11-15 15:15:10 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-15 15:15:10 +0900 |
| commit | 42a13e5ad99b688bc7376fa4d236e924985d04cc (patch) | |
| tree | c93c54f94b35b1a7b20f6a39ffac485ca7410d5b /plugin | |
| parent | Merge pull request #238 from steelsojka/angular-ls (diff) | |
| parent | Update README.md (diff) | |
| download | nvim-lspconfig-42a13e5ad99b688bc7376fa4d236e924985d04cc.tar nvim-lspconfig-42a13e5ad99b688bc7376fa4d236e924985d04cc.tar.gz nvim-lspconfig-42a13e5ad99b688bc7376fa4d236e924985d04cc.tar.bz2 nvim-lspconfig-42a13e5ad99b688bc7376fa4d236e924985d04cc.tar.lz nvim-lspconfig-42a13e5ad99b688bc7376fa4d236e924985d04cc.tar.xz nvim-lspconfig-42a13e5ad99b688bc7376fa4d236e924985d04cc.tar.zst nvim-lspconfig-42a13e5ad99b688bc7376fa4d236e924985d04cc.zip | |
Merge pull request #348 from h-michael/rename
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 |
