Closed erikw closed 2 years ago
Thank you for using EditorConfig and for the idea! The normal way to do that would be to add, in path/to/.editorconfig
:
[file.rb]
trim_trailing_whitespace = unset
Would you please try that first? If it doesn't work for some reason, let's discuss further. Thanks!
@cxw42 oh great! I'll try later today and report back.
This works fine, thanks!
Hey,
I have a use case where I would like to disable
trim_trailing_whitespace
for a specific file in a project. It would be nice if we could do something likeand thus let the whitespace trimming be enabled in the other open buffers!
Currently only the global variable is considered https://github.com/editorconfig/editorconfig-vim/blob/3078cd10b28904e57d878c0d0dab42aa0a9fdc89/plugin/editorconfig.vim#L514