Closed tybenz closed 9 years ago
I follow jQuery's JavaScript's styleguide and pad almost all of my delimiters with spaces in my JS. For most other languages, I don't.
Example:
// javascript function foo( arg1, arg2 ) { return ( 4 + 2 ) / 6; }
# ruby def foo(arg1, arg2) (4 + 2) / 6 end
Is there a setting that can add padding with spaces depending on filetype?
See if :help delimitMate_expand_space is what you're after.
:help delimitMate_expand_space
Please, reopen the issue if needed.
I follow jQuery's JavaScript's styleguide and pad almost all of my delimiters with spaces in my JS. For most other languages, I don't.
Example:
Is there a setting that can add padding with spaces depending on filetype?