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

bug: link_*_to_* settings interfere with each other #385

Open
qaptoR opened this issue Jul 8, 2024 · 0 comments
Open

bug: link_*_to_* settings interfere with each other #385

qaptoR opened this issue Jul 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@qaptoR
Copy link

qaptoR commented Jul 8, 2024

Neovim version (nvim -v)

0.10

Operating system/version

Windows 10

Output of :AerialInfo

Aerial Info

Filetype: lua
Configured backends:
treesitter (supported) (attached)
lsp (supported)
markdown (not supported) [Filetype is not markdown]
asciidoc (not supported) [Filetype is not asciidoc]
man (not supported) [Filetype is not man]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct

Describe the bug

Ideally I would like for fold-level changes in the document to match the aerial tree, and vice-versa whether I fold them in the document or the tree.

However, the two settings: link_folds_to_tree and link_tree_to_folds both interfere with each other.

If I turn one of them off, it works fine. But if both are on, then I can't navigate the aerial view with j/k to go up/down.
The cursor is constantly being reset to the top of the view.

What is the severity of this bug?

tolerable (can work around it)

Steps To Reproduce

set the following settings to true

manage_folds = true
link_tree_to_folds = true
link_folds_to_tree = true

Expected Behavior

I should be able to navigate the aerial view and keep the tree in sync with the document whenever a change is made

Minimal example file

No response

Additional context

No response

@qaptoR qaptoR added the bug Something isn't working label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant