Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(outline): use the correct symbols and filter config format #3924

Merged
merged 1 commit into from
Jul 5, 2024
Merged

fix(outline): use the correct symbols and filter config format #3924

merged 1 commit into from
Jul 5, 2024

Conversation

hedyhli
Copy link
Contributor

@hedyhli hedyhli commented Jul 5, 2024

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.

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

Does this PR fix an existing issue?

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 structure.

Checklist

The symbols-outline extra was removed in favor of outline.nvim, but the configuration for symbols is not backwards-compatible (hedyhli/outline.nvim#12).

This fixes the configuration for the symbols icons and filter to be usable by outline.nvim.
@github-actions github-actions bot added the extras label Jul 5, 2024
@folke folke merged commit 502dac1 into LazyVim:main Jul 5, 2024
6 checks passed
@folke
Copy link
Collaborator

folke commented Jul 5, 2024

ty!

folke pushed a commit that referenced this pull request Jul 5, 2024
🤖 I have created a release *beep* *boop*
---


##
[12.26.0](v12.25.0...v12.26.0)
(2024-07-05)


### Features

* **dial:** yaml support
([f64bbd2](f64bbd2))
* **util:** rest-client
([#3915](#3915))
([76b41cd](76b41cd))
* **vue:** enabled hybrid mode to avoid 2 typescript lsp running at same
time ([#3908](#3908))
([4b0f720](4b0f720))


### Bug Fixes

* **dial:** move date related augends to default group
([#3927](#3927))
([4192d95](4192d95))
* **outline:** use the correct symbols and filter config format
([#3924](#3924))
([502dac1](502dac1))
* **project:** properly close window after changing directory
([#3919](#3919))
([51e99df](51e99df))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@hedyhli hedyhli deleted the patch-1 branch July 5, 2024 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants