feat: add colorful window separators plugin with customization options

This commit is contained in:
2024-08-31 16:42:53 -04:00
parent 8458d56b52
commit 08387f83d5
2 changed files with 30 additions and 0 deletions
+24
View File
@@ -121,4 +121,28 @@ return {
{ -- Rainbow Delimeters
"HiPhish/rainbow-delimiters.nvim",
},
{ -- Colorful window separators
"nvim-zh/colorful-winsep.nvim",
opts = {
only_line_seq = false,
symbols = { "", "", "", "", "", "" },
no_exec_files = {
"packer",
"TelescopePrompt",
"mason",
"CompetiTest",
"NvimTree",
"neotree",
"lazy",
"neominimap",
},
},
event = { "WinLeave" },
},
{ -- Auto Cursorline
"delphinus/auto-cursorline.nvim",
opts = {
wait_ms = 2000,
},
},
}
+6
View File
@@ -191,6 +191,12 @@ function M.setup_autocommands()
local filetype = vim.bo.filetype
if not vim.tbl_contains(excluded_filetypes, filetype) then
M.setup_indent_highlight()
else
if pcall(require, "auto-cursorline") then
require("auto-cursorline").disable({
buffer = true,
})
end
end
end,
})