mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
Add symbols outline plugin. (#451)
This commit is contained in:
parent
ab8d424c54
commit
5dd17038c9
3 changed files with 18 additions and 0 deletions
1
init.lua
1
init.lua
|
@ -30,6 +30,7 @@ if O.extras then
|
||||||
require('lv-dial')
|
require('lv-dial')
|
||||||
require('lv-hop')
|
require('lv-hop')
|
||||||
require('lv-colorizer')
|
require('lv-colorizer')
|
||||||
|
require('lv-symbols-outline')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
15
lua/lv-symbols-outline/init.lua
Normal file
15
lua/lv-symbols-outline/init.lua
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
vim.g.symbols_outline = {
|
||||||
|
highlight_hovered_item = true,
|
||||||
|
show_guides = true,
|
||||||
|
auto_preview = true,
|
||||||
|
position = 'right',
|
||||||
|
keymaps = {
|
||||||
|
close = "<Esc>",
|
||||||
|
goto_location = "<Cr>",
|
||||||
|
focus_location = "o",
|
||||||
|
hover_symbol = "<C-space>",
|
||||||
|
rename_symbol = "r",
|
||||||
|
code_actions = "a",
|
||||||
|
},
|
||||||
|
lsp_blacklist = {},
|
||||||
|
}
|
|
@ -140,6 +140,8 @@ return require("packer").startup(function(use)
|
||||||
require_plugin('nvim-colorizer.lua')
|
require_plugin('nvim-colorizer.lua')
|
||||||
use {'windwp/nvim-spectre', opt = true}
|
use {'windwp/nvim-spectre', opt = true}
|
||||||
require_plugin('windwp/nvim-spectre')
|
require_plugin('windwp/nvim-spectre')
|
||||||
|
use {'simrat39/symbols-outline.nvim', opt = true}
|
||||||
|
require_plugin('symbols-outline.nvim')
|
||||||
-- folke/todo-comments.nvim
|
-- folke/todo-comments.nvim
|
||||||
-- gennaro-tedesco/nvim-jqx
|
-- gennaro-tedesco/nvim-jqx
|
||||||
-- TimUntersberger/neogit
|
-- TimUntersberger/neogit
|
||||||
|
|
Loading…
Reference in a new issue