summaryrefslogtreecommitdiff
path: root/ftplugin/yaml.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/yaml.lua')
-rw-r--r--ftplugin/yaml.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/yaml.lua b/ftplugin/yaml.lua
index e2847365..219022f5 100644
--- a/ftplugin/yaml.lua
+++ b/ftplugin/yaml.lua
@@ -1,3 +1,7 @@
+if require("lv-utils").check_lsp_client_active "yamlls" then
+ return
+end
+
-- npm install -g yaml-language-server
require("lspconfig").yamlls.setup {
cmd = { DATA_PATH .. "/lspinstall/yaml/node_modules/.bin/yaml-language-server", "--stdio" },