style: use nvim-navic for breadcrumbs, disable treesitter-context

This commit is contained in:
2024-12-08 20:25:41 -05:00
parent 170a6840b5
commit 1ed617ae84
3 changed files with 67 additions and 8 deletions
+51
View File
@@ -0,0 +1,51 @@
return {
'SmiteshP/nvim-navic',
dependencies = {
'neovim/nvim-lspconfig',
},
event = 'VeryLazy',
opts = {
icons = {
File = '󰈙 ',
Module = '',
Namespace = '󰌗 ',
Package = '',
Class = '󰌗 ',
Method = '󰆧 ',
Property = '',
Field = '',
Constructor = '',
Enum = '󰕘',
Interface = '󰕘',
Function = '󰊕 ',
Variable = '󰆧 ',
Constant = '󰏿 ',
String = '󰀬 ',
Number = '󰎠 ',
Boolean = '',
Array = '󰅪 ',
Object = '󰅩 ',
Key = '󰌋 ',
Null = '󰟢 ',
EnumMember = '',
Struct = '󰌗 ',
Event = '',
Operator = '󰆕 ',
TypeParameter = '󰊄 ',
},
lsp = {
auto_attach = true,
preference = nil,
},
highlight = false,
separator = ' > ',
depth_limit = 0,
depth_limit_indicator = '..',
safe_output = true,
lazy_update_context = false,
click = true,
format_text = function(text)
return text
end,
},
}