feat(nvim): graphql extra added

This commit is contained in:
Sergio Laín 2023-11-17 14:42:04 +01:00
parent 6a024cba42
commit 0d7cf8e53a
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -0,0 +1,22 @@
return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed, {
"graphql-language-service-cli",
})
end,
},
{
"neovim/nvim-lspconfig",
dependencies = {},
opts = {
-- make sure mason installs the server
servers = {
graphql = {
filetypes = { "graphql", "typescript", "typescriptreact" },
},
},
},
},
}