diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index e1b9221..0cc8416 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -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, + }, + }, } diff --git a/lua/utils/highlight.lua b/lua/utils/highlight.lua index 4963037..47d420d 100644 --- a/lua/utils/highlight.lua +++ b/lua/utils/highlight.lua @@ -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, })