dotfiles/.config/nvim/lua/plugins/extras/lang/css.lua
Sergio Laín c2e92f0ef5
♻️ refactor(nvim): a lot of changes to the structure of the config
moved extras, mason and tressitter packages, and some new extras for web dev
2023-11-15 12:46:38 +01:00

25 lines
567 B
Lua

return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "css", "scss" })
end
end,
},
{
"neovim/nvim-lspconfig",
opts = {
servers = {
cssmodules_ls = {},
},
},
},
{
"williamboman/mason.nvim",
opts = function(_, opts)
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "cssmodules-language-server", "rustywind" })
end,
},
}