chore(nvim): a lot

format, fix nvim-tree startup, update telescope, drop unused plugins
This commit is contained in:
2025-06-14 19:46:59 +08:00
parent 6a1889722c
commit 53e15c2324
35 changed files with 231 additions and 368 deletions

View File

@@ -1,31 +1,30 @@
local buf_kill = require("core.globals").buf_kill
M = {
highlights = {
buffer_selected = {
bold = true
}
},
options = {
diagnostics = "nvim_lsp",
offsets = {
highlights = {
buffer_selected = {
bold = true,
},
},
options = {
diagnostics = "nvim_lsp",
offsets = {
{
filetype = "NvimTree",
text = "File Explorer",
highlight = "Directory",
text_align = "center"
text_align = "center",
},
},
close_command = function (bufnr)
buf_kill("bd", bufnr, false)
end,
right_mouse_command = function (bufnr)
buf_kill("bd", bufnr, true)
end
}
close_command = function(bufnr)
buf_kill("bd", bufnr, false)
end,
right_mouse_command = function(bufnr)
buf_kill("bd", bufnr, true)
end,
},
}
vim.opt.termguicolors = true
return M