Switching to navic for breadcrumbs

This commit is contained in:
Ian Roddis
2024-07-24 13:56:53 -03:00
parent 8b9c9d163b
commit 0b3e8d99d4
+10 -2
View File
@@ -229,9 +229,14 @@ require('lazy').setup({
}, },
{ {
'nvim-treesitter/nvim-treesitter-context', 'SmiteshP/nvim-navic',
opts = { opts = {
enable = true, lsp = {
auto_attach = true
}
},
dependencies = {
{ 'nvim-lspconfig' }
} }
}, },
{ {
@@ -245,6 +250,9 @@ require('lazy').setup({
component_separators = '|', component_separators = '|',
section_separators = '', section_separators = '',
}, },
sections = {
lualine_c = { 'navic' }
},
}, },
}, },