diff options
Diffstat (limited to 'lua/lspconfig/server_configurations/graphql.lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/graphql.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lua/lspconfig/server_configurations/graphql.lua b/lua/lspconfig/server_configurations/graphql.lua index ab5b2fda..fa1e8715 100644 --- a/lua/lspconfig/server_configurations/graphql.lua +++ b/lua/lspconfig/server_configurations/graphql.lua @@ -1,15 +1,8 @@ local util = require 'lspconfig.util' -local bin_name = 'graphql-lsp' -local cmd = { bin_name, 'server', '-m', 'stream' } - -if vim.fn.has 'win32' == 1 then - cmd = { 'cmd.exe', '/C', bin_name, 'server', '-m', 'stream' } -end - return { default_config = { - cmd = cmd, + cmd = { 'graphql-lsp', 'server', '-m', 'stream' }, filetypes = { 'graphql', 'typescriptreact', 'javascriptreact' }, root_dir = util.root_pattern('.graphqlrc*', '.graphql.config.*', 'graphql.config.*'), }, |
