summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/graphql.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/ftplugin/graphql.lua')
-rw-r--r--.config/nvim/ftplugin/graphql.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/.config/nvim/ftplugin/graphql.lua b/.config/nvim/ftplugin/graphql.lua
index df3dce9..863bfa0 100644
--- a/.config/nvim/ftplugin/graphql.lua
+++ b/.config/nvim/ftplugin/graphql.lua
@@ -1,2 +1,5 @@
+if require("cfg.utils").check_lsp_client_active "graphql" then
+ return
+end
-- npm install -g graphql-language-service-cli
-require("lspconfig").graphql.setup { on_attach = require("lsp").common_on_attach }
+require("lspconfig").graphql.setup { on_attach = require("cfg.lsp").common_on_attach }