summaryrefslogtreecommitdiff
path: root/ftplugin/graphql.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-14 18:50:07 -0400
committerchristianchiarulli <[email protected]>2021-07-14 18:50:07 -0400
commit2a7b3d4892605508d0b0328444d689e1c4922897 (patch)
treebc43127c8c01edbac4871813433f18d7d23942d6 /ftplugin/graphql.lua
parent81adc270dd674b2f3da19340f0c34d60d8667542 (diff)
reformat most langs
Diffstat (limited to 'ftplugin/graphql.lua')
-rw-r--r--ftplugin/graphql.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/ftplugin/graphql.lua b/ftplugin/graphql.lua
index c9ce5437..30bddcc4 100644
--- a/ftplugin/graphql.lua
+++ b/ftplugin/graphql.lua
@@ -1,6 +1,4 @@
-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 }
+require("lang.graphql").format()
+require("lang.graphql").lint()
+require("lang.graphql").lsp()
+require("lang.graphql").dap()