LazyVim.LazyVim/lua/lazyvim/plugins/extras
~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
..
coding feat(copilot-chat): ctrl-s now works in both normal and insert mode 2024-06-16 20:17:16 +02:00
dap fix(dap): only load mason-nvim-dap when not disabled (#3784) 2024-06-23 20:04:51 +02:00
editor fix(outline): use the correct symbols and filter config format (#3924) 2024-07-05 16:10:46 +02:00
formatting fix(prettier): fixup 2024-06-07 23:24:01 +02:00
lang feat(erlang): add Erlang language (#3911) 2024-07-04 20:47:33 +02:00
linting feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
lsp feat: moved neoconf.nvim to extras 2024-06-02 09:05:16 +02:00
test fix(neotest): support adapter key on adapter for playwright (#3824) 2024-06-27 16:04:26 +02:00
ui fix(edgy): improve edgy.lua bufferline offset logic (#3794) 2024-06-29 10:47:39 +02:00
util feat(util): rest-client (#3915) 2024-07-05 09:20:18 +02:00
vscode.lua feat(vscode): added ts-comments to allow list for vscode 2024-05-29 18:22:54 +02:00