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

How to set unfold all file as default? #26

Open
sykuang opened this issue Dec 23, 2021 · 1 comment
Open

How to set unfold all file as default? #26

sykuang opened this issue Dec 23, 2021 · 1 comment

Comments

@sykuang
Copy link

sykuang commented Dec 23, 2021

When I open the brs file, it will fold whole file and I need to unfold them.
Is it possible to set it as unfold?

@entrez
Copy link
Owner

entrez commented Aug 15, 2022

@sykuang -- sorry I didn't see this earlier, not sure why I missed it. It's not part of the plugin itself but you can accomplish that by adding something like the following to your .vimrc file:

augroup brs_settings
    au!
    " don't disable folding outright, but open stuff up
    au FileType brs setl fdl=99 fdls=99
augroup END

(or use au FileType brs setl nofoldenable instead if you want to start out with folding turned entirely off)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants