feat(nvim): Apperance and Cursor Movement

This commit is contained in:
js0ny 2025-01-26 14:00:07 +00:00
parent 1a5f992384
commit 0069470641
10 changed files with 87 additions and 7 deletions

View file

@ -4,6 +4,13 @@ return {
config = function()
require("bufferline").setup({
options = {
diagnostics = "nvim_lsp",
diagnostics_indicator = function(count, level, diagnostics_dict, context)
local icon = level:match("error") and "" or ""
return " " .. icon .. count
end,
show_buffer_icons = true,
numbers = "ordinal", -- 显示 buffer 序号
close_command = "bdelete! %d", -- 关闭 buffer 的命令
right_mouse_command = "bdelete! %d", -- 右键关闭

View file

@ -7,7 +7,7 @@ return {
show_file_path = true,
show_symbols = true,
colors = {
path = "#9c1d91",
path = "",
file_name = "",
symbols = "",
},
@ -31,6 +31,7 @@ return {
"spectre_panel",
"toggleterm",
"qf",
"floaterm",
},
})
end,