dotfiles/.config/nvim/lua/plugins/extras/lang/web/angular.lua
2024-01-03 16:33:58 +01:00

34 lines
770 B
Lua

return {
{ import = "pugins.extras.lang.web.typescript-extended" },
{ import = "plugins.extras.lang.web.html-css" },
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "angular" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
angularls = {},
},
},
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "angular-language-server" })
end,
},
{
"luckasRanarison/nvim-devdocs",
optional = true,
ensure_installed = {
"angular",
},
},
}