aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/installers/graphql.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-04-05 14:19:07 +0200
committerGitHub <noreply@github.com>2021-04-05 14:19:07 +0200
commitdcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb (patch)
tree419e086d757624aa9e2bcaa456e02a6c8f7a3968 /lua/nvim-lsp-installer/installers/graphql.lua
parenteslintls: avoid globbing/word splitting (diff)
downloadmason-dcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb.tar
mason-dcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb.tar.gz
mason-dcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb.tar.bz2
mason-dcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb.tar.lz
mason-dcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb.tar.xz
mason-dcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb.tar.zst
mason-dcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb.zip
rename Installer to Server for clarity (#3)
Diffstat (limited to 'lua/nvim-lsp-installer/installers/graphql.lua')
-rw-r--r--lua/nvim-lsp-installer/installers/graphql.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/lua/nvim-lsp-installer/installers/graphql.lua b/lua/nvim-lsp-installer/installers/graphql.lua
deleted file mode 100644
index 471eb3ba..00000000
--- a/lua/nvim-lsp-installer/installers/graphql.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-local util = require('lspconfig.util')
-
-local installer = require('nvim-lsp-installer.installer')
-
-local root_dir = installer.get_server_root_path('graphql')
-
-return installer.Installer:new {
- name = "graphql",
- root_dir = root_dir,
- install_cmd = [[npm install graphql-language-service-cli@latest graphql]],
- default_options = {
- cmd = { root_dir .. "/node_modules/.bin/graphql-lsp", "server", "-m", "stream" },
- filetypes = { 'typescriptreact', 'javascriptreact', 'graphql' },
- root_dir = util.root_pattern('.git', '.graphqlrc'),
- },
-}