aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/lsp_settings.vim3
-rw-r--r--settings.json8
2 files changed, 11 insertions, 0 deletions
diff --git a/plugin/lsp_settings.vim b/plugin/lsp_settings.vim
index ee25582..07cc35d 100644
--- a/plugin/lsp_settings.vim
+++ b/plugin/lsp_settings.vim
@@ -200,6 +200,9 @@ function! s:vimlsp_load_or_suggest(ft) abort
let l:found = 0
for l:server in s:settings[a:ft]
+ if s:vimlsp_settings_get(l:server.command, 'disabled', 0)
+ continue
+ endif
let l:command = s:vimlsp_settings_get(l:server.command, 'cmd', l:server.command)
if type(l:command) == type([])
let l:command = l:command[0]
diff --git a/settings.json b/settings.json
index f932004..bae706a 100644
--- a/settings.json
+++ b/settings.json
@@ -426,6 +426,14 @@
]
}
],
+ "perl": [
+ {
+ "command": "perl-languageserver",
+ "requires": [
+ "cpanm"
+ ]
+ }
+ ],
"yaml": [
{
"command": "yaml-language-server",