summaryrefslogtreecommitdiff
path: root/.config/nvim/ftplugin/graphql.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-22 00:08:36 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-07-22 00:08:36 +0200
commitb51f1ae28924a752258e7607fbc3210f9b18eaac (patch)
tree8c8c095528990b3f6eb499dbcca15e9720e636d1 /.config/nvim/ftplugin/graphql.lua
parentda936b0ed9ac4c171d3c7908e41af1875a82b08b (diff)
Updates based on Chris's lunarvim
Diffstat (limited to '.config/nvim/ftplugin/graphql.lua')
-rw-r--r--.config/nvim/ftplugin/graphql.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/.config/nvim/ftplugin/graphql.lua b/.config/nvim/ftplugin/graphql.lua
index 863bfa0..30bddcc 100644
--- a/.config/nvim/ftplugin/graphql.lua
+++ b/.config/nvim/ftplugin/graphql.lua
@@ -1,5 +1,4 @@
-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("cfg.lsp").common_on_attach }
+require("lang.graphql").format()
+require("lang.graphql").lint()
+require("lang.graphql").lsp()
+require("lang.graphql").dap()