✨ feat(nvim): added xml extra
This commit is contained in:
parent
310898b7ed
commit
5adf397a07
1 changed files with 25 additions and 0 deletions
25
.config/nvim/lua/plugins/extras/lang/xml.lua
Normal file
25
.config/nvim/lua/plugins/extras/lang/xml.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = function(_, opts)
|
||||
if type(opts.ensure_installed) == "table" then
|
||||
vim.list_extend(opts.ensure_installed, { "xml" })
|
||||
end
|
||||
end,
|
||||
},
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
servers = {
|
||||
lemminx = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
opts = function(_, opts)
|
||||
opts.ensure_installed = opts.ensure_installed or {}
|
||||
vim.list_extend(opts.ensure_installed, { "lemminx" })
|
||||
end,
|
||||
},
|
||||
}
|
Loading…
Add table
Reference in a new issue