dotfiles/.config/nvim/lua/plugins/extras/lang/web/graphql.lua
2023-11-17 14:42:04 +01:00

22 lines
439 B
Lua

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" },
},
},
},
},
}