add nvim-navic

This commit is contained in:
2024-09-26 10:43:39 +03:00
parent aac1e91dcb
commit 1a2df25f5e
4 changed files with 26 additions and 8 deletions

View File

@@ -1,6 +1,9 @@
return {
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons', branch = 'master' },
dependencies = {
{ 'nvim-tree/nvim-web-devicons', branch = 'master', },
'SmiteshP/nvim-navic',
},
config = function()
local colors = {
black = '#282828',
@@ -55,13 +58,9 @@ return {
'filename',
path = 4,
},
function()
return require("nvim-treesitter").statusline({
indicator_size = 70,
type_patterns = { "class", "function", "method" },
separator = " -> ",
})
end,
{
'navic',
},
}
}
})