Not opening collapsed sections when selecting match
See original GitHub issue- vim or neovim?
- vim
- neovim
- Operating system:
- Linux
- Mac OS X
- Windows
- Etc.
- Configurations related to LeaderF in vimrc: I work in popup mode with LeaderfLine.
Describe your question, feature request, or bug.
Hi,
when I select a match using <CR>
, if it lies inside a collapsed region, it goes to the correct line in the buffer, but it doesn’t display it. It displays only the collapsed header of the region.
Similarly to here:
https://user-images.githubusercontent.com/23480511/70097849-0a4a3500-1633-11ea-9e1b-b05133e4f778.png
(enter wouldn’t display the internals of the function)
So, I need to press ‘zA’ to make it happen.
I think the relevant code is python/leaderf/lineExpl.py
in the function _acceptSelection
, but adding lfCmd('norm! zA')
there did nothing.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Video: Collapsible headings - Microsoft Support
Collapse or expand parts of a document. If you want the document to open with the headings collapsed, follow these steps. Place your...
Read more >collapse/expand headings not collapsing everything under the
I'm wondering if there's a setting or something where I can select which text is collapsed under what heading. Thanks :) This thread...
Read more >Collapsible headings: "Collapsed by default" is grayed out
The client requested that the headings be collapsed when the document is opened. However, when I want to select the "collapsed by default" ......
Read more >Bootstrap: Collapse other sections when one is expanded
Whenever a BUTTON is clicked, all sections become collapsed. Then bootstrap opens the one you selected. ... It's collapsed already open section.
Read more >How do I open only collapsed items that contain highlighted ...
Hello developers, In my code I have a function that matches words and highlights them with a yellow background and in the same...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The same happens to me. In some files I use the following modeline:
vim: set foldmethod=marker foldenable :
.I’m currently doing:
Leaderf line
<CR>
Then my cursor jumps to the correct place in the file, but the fold doesn’t open automatically.
I’m currently using Neovim 0.4.3 on Mac OS X, with iTerm 3.3.7.
Still can not reproduce it.