From 88616bde7c7b5b25f505997aa2171245f7341453 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Jul 2021 20:17:26 +0200 Subject: Updates to lang stuff --- .config/nvim/ftplugin/yaml.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config/nvim/ftplugin/yaml.lua') 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" }, -- cgit v1.2.3-70-g09d2