mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:28:12 +09:00
nixvim: migrate colorizer to native nixvim module
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -1,18 +1,23 @@
|
|||||||
{pkgs, ...}: {
|
{...}: {
|
||||||
programs.nixvim = {
|
programs.nixvim.plugins.colorizer = {
|
||||||
extraPlugins = [pkgs.vimPlugins.nvim-colorizer-lua];
|
enable = true;
|
||||||
extraConfigLua = ''
|
|
||||||
require("colorizer").setup({
|
settings = {
|
||||||
filetypes = { "*" },
|
filetypes = ["*" "!markdown"];
|
||||||
user_default_options = {
|
user_commands = true;
|
||||||
RGB = true,
|
|
||||||
RRGGBB = true,
|
options = {
|
||||||
names = false,
|
parsers = {
|
||||||
css = true,
|
css = true;
|
||||||
tailwind = true,
|
tailwind = {
|
||||||
mode = "background",
|
enable = true;
|
||||||
},
|
lsp = true;
|
||||||
})
|
update_names = true;
|
||||||
'';
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
display.mode = "background";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user