mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
nixvim: add nvim-surround and nvim-colorizer.lua
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
@@ -10,5 +10,6 @@
|
|||||||
./copilot.nix
|
./copilot.nix
|
||||||
./trouble.nix
|
./trouble.nix
|
||||||
./conform.nix
|
./conform.nix
|
||||||
|
./surround.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{...}: {
|
||||||
|
programs.nixvim.plugins.nvim-surround.enable = true;
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
programs.nixvim = {
|
||||||
|
extraPlugins = [pkgs.vimPlugins.nvim-colorizer-lua];
|
||||||
|
extraConfigLua = ''
|
||||||
|
require("colorizer").setup({
|
||||||
|
filetypes = { "*" },
|
||||||
|
user_default_options = {
|
||||||
|
RGB = true,
|
||||||
|
RRGGBB = true,
|
||||||
|
names = false,
|
||||||
|
css = true,
|
||||||
|
tailwind = true,
|
||||||
|
mode = "background",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -9,5 +9,6 @@
|
|||||||
./treesitter.nix
|
./treesitter.nix
|
||||||
./barbar.nix
|
./barbar.nix
|
||||||
./lightbulb.nix
|
./lightbulb.nix
|
||||||
|
./colorizer.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user