summaryrefslogtreecommitdiff
path: root/ftplugin/graphql.lua
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/graphql.lua')
-rw-r--r--ftplugin/graphql.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/graphql.lua b/ftplugin/graphql.lua
index df3dce9b..c9ce5437 100644
--- a/ftplugin/graphql.lua
+++ b/ftplugin/graphql.lua
@@ -1,2 +1,6 @@
+if require("lv-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 }