From 37e8a51ab0393b2232b9c7594560f29b7b2e0088 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 15 Jun 2022 04:43:32 +0200 Subject: vim: add navic plugin to show the current location inside the AST --- .vim/lua/plugins.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.vim/lua/plugins.lua') diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index b3b8d75..28fd193 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -365,6 +365,15 @@ require('packer').startup({function() lspstatus.register_progress() end} -- }}} + use {'SmiteshP/nvim-navic', -- {{{ + requires = {'neovim/nvim-lspconfig'}, + config = function() + local navic = require('nvim-navic') + navic.setup { + icons = package.loaded.lsp.symbols + } + end} -- }}} + use {'kosayoda/nvim-lightbulb', -- {{{ -- branch = 'virtual-text-column', config = function() -- cgit 1.4.1