feat: add colorful window separators plugin with customization options
This commit is contained in:
@@ -121,4 +121,28 @@ return {
|
|||||||
{ -- Rainbow Delimeters
|
{ -- Rainbow Delimeters
|
||||||
"HiPhish/rainbow-delimiters.nvim",
|
"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,
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -191,6 +191,12 @@ function M.setup_autocommands()
|
|||||||
local filetype = vim.bo.filetype
|
local filetype = vim.bo.filetype
|
||||||
if not vim.tbl_contains(excluded_filetypes, filetype) then
|
if not vim.tbl_contains(excluded_filetypes, filetype) then
|
||||||
M.setup_indent_highlight()
|
M.setup_indent_highlight()
|
||||||
|
else
|
||||||
|
if pcall(require, "auto-cursorline") then
|
||||||
|
require("auto-cursorline").disable({
|
||||||
|
buffer = true,
|
||||||
|
})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user