chore(neovim): Remove useless configs, keymaps & format code

- Removed nvim-highlight-colors useless configuration
- Neotree: remove redundant & useless keymaps
- Telescope: remove redundant & useless keymaps
- Telescope: All help keymaps moved to *neovim* keymaps
This commit is contained in:
Pratik Tripathy
2025-08-04 11:19:52 +05:30
parent 5c66d9d9c9
commit 0aee21c8b5
3 changed files with 7 additions and 64 deletions

View File

@@ -188,41 +188,6 @@ return {
virtual_symbol_position = "eow",
virtual_symbol_prefix = " ",
virtual_symbol_suffix = "",
completion = {
menu = {
draw = {
components = {
-- customize the drawing of kind icons
kind_icon = {
text = function(ctx)
-- default kind icon
local icon = ctx.kind_icon
-- if LSP source, check for color derived from documentation
if ctx.item.source_name == "LSP" then
local color_item = require("nvim-highlight-colors").format(ctx.item.documentation, { kind = ctx.kind })
if color_item and color_item.abbr ~= "" then
icon = color_item.abbr
end
end
return icon .. ctx.icon_gap
end,
highlight = function(ctx)
-- default highlight group
local highlight = "BlinkCmpKind" .. ctx.kind
-- if LSP source, check for color derived from documentation
if ctx.item.source_name == "LSP" then
local color_item = require("nvim-highlight-colors").format(ctx.item.documentation, { kind = ctx.kind })
if color_item and color_item.abbr_hl_group then
highlight = color_item.abbr_hl_group
end
end
return highlight
end,
},
},
},
},
},
})
end,
},