-
Notifications
You must be signed in to change notification settings - Fork 34
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(ui): folds not working in lazy #279
Conversation
remove nofile, otherwise ts folds do not work in lazy.
Should fix: #268 |
That shouldn’t be the solution. We should talk with @folke about his reason to exclude this buftypes. I don’t use LazyVim but have some more plugins with scratch buffers using buftype nofile where treesitter runs fine and I see no reason to skip folding. |
Yes, folding works for me too, I don't use Lazy either, so maybe folke can elaborate on why'd he chose to disable that on nofile 🤔 |
Can we solve it with a user configuration on setup? Folke is on vacation till the end of the month 😞 |
@rogeriofrsouza you already confirmed that everything runs fine for you with this commit, didn’t you? So we can keep it as is (I haven’t tested for side effects). If Folke will change his repo we can do a revert (if @gorillamoe want to do it). So in the meantime everything should be good. |
Yes, I will revert this ofc, if behaviour in lazy changes. |
Yes @Grueslayer it is running fine. But I don't want to break someone else configuration out there... |
Don't worry, if it breaks stuff, we'll revert it and make it opt-in. |
remove nofile, otherwise ts folds do not work in lazy.
@gorillamoe It is fixed in LazyVim, may you revert this (and maybe #286, too)? |
remove nofile, otherwise ts folds do not work in lazy.