diff options
| author | Robert Günzler <r@gnzler.io> | 2022-06-15 04:43:32 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2022-06-15 04:43:32 +0200 |
| commit | 37e8a51ab0393b2232b9c7594560f29b7b2e0088 (patch) | |
| tree | 96bd595083cc2b0f6ef3c65eb6207f6b816516ec /.vim/lua/plugins.lua | |
| parent | 5d3c12f35fc1295032c494a14cf902ed091aeb89 (diff) | |
vim: add navic plugin
to show the current location inside the AST
Diffstat (limited to '')
| -rw-r--r-- | .vim/lua/plugins.lua | 9 |
1 files changed, 9 insertions, 0 deletions
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() |