Skip to content

Setting syntax fold selectively #258

@bruno-

Description

@bruno-

Hi,
thanks to all the maintainers for working on this plugin!

I have a question around syntax folds. I find the folding too "granular" with let ruby_fold = 1. It is as if it is too much work to get to the actual code when this is set.

I've tried editing syntax/ruby.vim locally by removing all the fold options and leaving it only for rubyMethodBlock. This works perfectly.

Is there a way to achieve this in a more elegant way than editing ruby syntax file locally?

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions