aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/graphql/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/graphql/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/graphql/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/servers/graphql/init.lua b/lua/nvim-lsp-installer/servers/graphql/init.lua
index 279b6e25..b2d15b01 100644
--- a/lua/nvim-lsp-installer/servers/graphql/init.lua
+++ b/lua/nvim-lsp-installer/servers/graphql/init.lua
@@ -9,7 +9,7 @@ local root_dir = server.get_server_root_path("graphql")
return server.Server:new {
name = "graphql",
root_dir = root_dir,
- install_cmd = npm.packages { "graphql-language-service-cli@latest", "graphql" },
+ installer = npm.packages { "graphql-language-service-cli@latest", "graphql" },
default_options = {
cmd = { path.concat { root_dir, "node_modules", ".bin", "graphql-lsp" }, "server", "-m", "stream" },
filetypes = { "typescriptreact", "javascriptreact", "graphql" },