From dcf117a8a60d887a2c2ff9d5617a9c39c5ee95fb Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 5 Apr 2021 14:19:07 +0200 Subject: rename Installer to Server for clarity (#3) --- lua/nvim-lsp-installer/installers/graphql.lua | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 lua/nvim-lsp-installer/installers/graphql.lua (limited to 'lua/nvim-lsp-installer/installers/graphql.lua') 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'), - }, -} -- cgit v1.2.3-70-g09d2