feat: Allow customizing preview window background

Closes #64
This commit is contained in:
simrat39
2021-09-21 19:24:26 -07:00
parent a8cab53271
commit 1ef3b66db8
4 changed files with 20 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ vim.g.symbols_outline = {
show_numbers = false,
show_relative_numbers = false,
show_symbol_details = true,
preview_bg_highlight = 'Pmenu',
keymaps = { -- These keymaps can be a string or a table for multiple keys
close = {"<Esc>", "q"},
goto_location = "<Cr>",
@@ -88,6 +89,7 @@ vim.g.symbols_outline = {
| show_numbers | Shows numbers with the outline | boolean | false |
| show_relative_numbers | Shows relative numbers with the outline | boolean | false |
| show_symbol_details | Shows extra details with the symbols (lsp dependent) | boolean | true |
| preview_bg_highlight | Background color of the preview window | string | Pmenu |
| keymaps | Which keys do what | table (dictionary) | [here](#default-keymaps) |
| symbols | Icon and highlight config for symbol icons | table (dictionary) | scroll up |
| lsp_blacklist | Which lsp clients to ignore | table (array) | {} |