aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/nvim_lsp.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/nvim_lsp.vim')
-rw-r--r--plugin/nvim_lsp.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/nvim_lsp.vim b/plugin/nvim_lsp.vim
index 246eada0..a62fc1ca 100644
--- a/plugin/nvim_lsp.vim
+++ b/plugin/nvim_lsp.vim
@@ -1,3 +1,8 @@
+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')