🧠 Coding Features
- Remove Comment (use native feature) - Make hlchunk colors dynamic - Add Alternate to quickly switch between c and headers
This commit is contained in:
+15
-7
@@ -16,19 +16,23 @@ return {
|
||||
"vim-scripts/AnsiEsc.vim",
|
||||
lazy = true,
|
||||
},
|
||||
{
|
||||
"numToStr/Comment.nvim",
|
||||
config = function()
|
||||
require("Comment").setup()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"shellRaining/hlchunk.nvim",
|
||||
config = function()
|
||||
local cb = function()
|
||||
if vim.g.colors_name == "tokyonight" then
|
||||
return "#806d9c"
|
||||
elseif vim.g.colors_name:find("catppuccin") then
|
||||
local catpalette = require("catppuccin.palettes").get_palette()
|
||||
return catpalette.rosewater
|
||||
else
|
||||
return "#90FDA9"
|
||||
end
|
||||
end
|
||||
require("hlchunk").setup({
|
||||
chunk = {
|
||||
style = {
|
||||
{ fg = "#90FDA9" },
|
||||
{ fg = cb },
|
||||
},
|
||||
enable = true,
|
||||
},
|
||||
@@ -38,4 +42,8 @@ return {
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"ton/vim-alternate",
|
||||
event = "VeryLazy",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user