summaryrefslogtreecommitdiff
path: root/ftplugin/graphql.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-08 17:17:45 -0400
committerchristianchiarulli <[email protected]>2021-07-08 17:17:45 -0400
commit9b1d18a1c172e09bc44a9c80b79d1d9cb37a140a (patch)
tree148adcad1734fe77aa858612fb1421cd9f089ceb /ftplugin/graphql.lua
parent25cfc15b46039f4a40a23d83cc555ff02a39f086 (diff)
parent4f372bb3b77f5bc60aa14fdaf2b9687414fc981a (diff)
Merge branch 'master' of github.com:ChristianChiarulli/LunarVim into rolling
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 }