LazyVim.LazyVim/lua/lazyvim/plugins
~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
..
compat fix(extras): better reasons as to why some extras are included in your config. 2024-06-14 11:14:00 +02:00
extras fix(outline): use the correct symbols and filter config format (#3924) 2024-07-05 16:10:46 +02:00
lsp fix(lsp): prevent setting up mason-lspconfig more than once when setting mslp opts 2024-06-29 21:01:42 +02:00
coding.lua feat(cmp): attempt for dynamic width and trimming between fields (#3873) 2024-06-30 23:14:00 +02:00
colorscheme.lua feat(catppuccin): enable more integrations (#1922) 2023-11-04 11:09:01 +01:00
editor.lua refactor(trouble): move options in keymaps for lsp and symbols to opts (#3917) 2024-07-05 08:22:38 +02:00
formatting.lua fix(conform): lsp_format breaking changes (#3707) 2024-06-17 19:49:30 +02:00
init.lua refactor: config = true >> opts = {} 2024-06-11 00:06:56 +02:00
linting.lua fix(lint): make prepend_args opt work when default args is empty (#3828) 2024-06-27 17:31:11 +02:00
treesitter.lua feat(treesitter-textobjects): added ]a and [a to move between parameters 2024-06-16 19:18:32 +02:00
ui.lua feat(ui): use mini.icons instead of nvim-wev-devicons (#3899) 2024-07-04 18:18:10 +02:00
util.lua feat(util)!: move vim-startuptime to an extra 2024-05-16 21:25:51 +02:00
xtras.lua refactor: LazyVim.config 2024-06-16 15:35:38 +02:00