summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/yaml.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-08 20:17:26 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-08 20:17:26 +0200
commit88616bde7c7b5b25f505997aa2171245f7341453 (patch)
tree7232fff70899952e2f91cb8b5d39c496840105db /.config/nvim/ftplugin/yaml.lua
parent8c0ace95e67f76b900cacd8daa38faa1444cb3b9 (diff)
Updates to lang stuff
Diffstat (limited to '.config/nvim/ftplugin/yaml.lua')
-rw-r--r--.config/nvim/ftplugin/yaml.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/ftplugin/yaml.lua b/.config/nvim/ftplugin/yaml.lua
index afb82fe..fa5ec54 100644
--- a/.config/nvim/ftplugin/yaml.lua
+++ b/.config/nvim/ftplugin/yaml.lua
@@ -1,3 +1,7 @@
+if require("cfg.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" },