Vim: plugins

This commit is contained in:
Filippo Berto 2024-03-20 10:28:40 +01:00
parent 2e798f9be1
commit 14a32b76ec
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056

View file

@ -236,6 +236,39 @@ let vp = pkgs.vimPlugins; in {
# vp.nvim-treesitter-textobjects
# vp.nvim-treesitter
# Highlighting
{
plugin = vp.nvim-colorizer-lua;
type = "lua";
config = ''
local colorizer = require ("colorizer")
colorizer.setup {
css = true,
mode = "background",
tailwind = true,
}
--[[
require("colorizer").attach_to_buffer(0, { mode = "background", css = true})
require("colorizer").detach_from_buffer(0, { mode = "virtualtext", css = true})
]]--
'';
}
# Formatting
{
plugin = vp.conform-nvim;
type = "lua";
config = ''
require("conform").setup({
formatters_by_ft = {
-- lua = { "stylua" }
}
})
'';
}
];
# settings = { ignorecase = true; };
# coc.enable = true;