Vim: plugins
This commit is contained in:
parent
2e798f9be1
commit
14a32b76ec
1 changed files with 33 additions and 0 deletions
|
|
@ -236,6 +236,39 @@ let vp = pkgs.vimPlugins; in {
|
||||||
|
|
||||||
# vp.nvim-treesitter-textobjects
|
# vp.nvim-treesitter-textobjects
|
||||||
# vp.nvim-treesitter
|
# 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; };
|
# settings = { ignorecase = true; };
|
||||||
# coc.enable = true;
|
# coc.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue