graphql
https://github.com/graphql/graphiql/tree/main/packages/graphql-language-service-cli
graphql-lsp
can be installed via npm
:
npm install -g graphql-language-service-cli
Setup
require'lspconfig'.graphql.setup{}
Default values
cmd = { "graphql-lsp", "server", "-m", "stream" }
filetypes = { "graphql" }
root_dir = function(startpath)
return M.search_ancestors(startpath, matcher)
end