LazyVim.LazyVim/lua/lazyvim/plugins/extras/editor
~hedy 502dac1d9a
fix(outline): use the correct symbols and filter config format (#3924)
## What is this PR for?

The symbols-outline extra was removed in favor of outline.nvim in #2535
(thanks!), but the configuration for symbols in outline.nvim [is not
backwards-compatible](https://github.com/hedyhli/outline.nvim/issues/12).

This fixes the configuration for the symbols icons and filter to be
usable by outline.nvim.

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Does this PR fix an existing issue?

<!--
  If this PR fixes any issues, please link to the issue here.
  Fixes #<issue_number>
-->

It doesn't seem like anyone has encountered this issue, but I can
confirm that the config currently used by LazyVim is incorrect. The
symbols table is at `symbols` for symbols-outline.nvim, but it's now at
`symbols.icons` for outline.nvim.

There is no such `symbols_blacklist` key. Instead, `symbols.filter` is
used, which is a kind of "whitelist".

Coincidentally, outline.nvim fully supports the LazyVim `kind_filter`
config table structure. It can either be a list of strings (kinds), or a
list of strings for each filetype key. Setting to nil or false makes it
so all symbols are included, just like in LazyVim.

See [the docs on the
`symbols.filter`](https://github.com/hedyhli/outline.nvim?tab=readme-ov-file#symbols-table)
structure.

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-07-05 16:10:46 +02:00
..
aerial.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
dial.lua fix(dial): move date related augends to default group (#3927) 2024-07-05 16:08:52 +02:00
fzf.lua fix(fzf): make sure vim.ui.select works when fzf is not loaded yet 2024-07-04 15:21:02 +02:00
harpoon2.lua fix(harpoon): harpoon2 deprecated message (#2920) 2024-04-22 09:45:59 +02:00
illuminate.lua fix(illuminate): s/enabed/enabled (#3313) 2024-05-26 10:38:28 +02:00
inc-rename.lua feat(editor): added extra for inc-rename.nvim (#3432) 2024-06-04 09:51:36 +02:00
leap.lua fix(which-key): use new which-key support for native group keymaps (nop) 2024-06-06 10:46:56 +02:00
mini-diff.lua feat(extras): added extra for mini.diff 2024-03-28 23:41:54 +01:00
mini-files.lua refactor(mini-files): mini-files (#3538) 2024-06-10 22:12:25 +02:00
mini-move.lua fix(mini.move): default mini.move setup already maps the correct keys 2024-03-29 00:21:52 +01:00
navic.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
outline.lua fix(outline): use the correct symbols and filter config format (#3924) 2024-07-05 16:10:46 +02:00
overseer.lua feat(extras): add overseer.nvim plugin extra (#2421) 2024-06-29 09:47:03 +02:00
refactoring.lua fix(refactoring): use pick for both Telescope and fzf-lua (#3769) 2024-06-23 07:01:58 +02:00
telescope.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00