From 0b3e8d99d427658aec501be2f55df858f322dcb1 Mon Sep 17 00:00:00 2001 From: Ian Roddis <31021769+iroddis@users.noreply.github.com> Date: Wed, 24 Jul 2024 13:56:53 -0300 Subject: [PATCH] Switching to navic for breadcrumbs --- init.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index e13179e..fb1634f 100644 --- a/init.lua +++ b/init.lua @@ -229,9 +229,14 @@ require('lazy').setup({ }, { - 'nvim-treesitter/nvim-treesitter-context', + 'SmiteshP/nvim-navic', opts = { - enable = true, + lsp = { + auto_attach = true + } + }, + dependencies = { + { 'nvim-lspconfig' } } }, { @@ -245,6 +250,9 @@ require('lazy').setup({ component_separators = '|', section_separators = '', }, + sections = { + lualine_c = { 'navic' } + }, }, },