You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that un-parenthesized arguments have the same color as the line they're in normally would (see the line in the screenshot in the README that's like path = File.expand_path five_dirs_up+'/README.md'). But if the arguments are in parens, they turn white (see the line in the screenshot in the README that's like if contents = File.read(readme_path)).
Is that on purpose? If so, what is the purpose? If not, what is the cause? I'm not wishing, at the point, that it was one way or the other. Just something I noticed and wondered about.
The text was updated successfully, but these errors were encountered:
Remember that detailed.vim mostly does no work - it relies on the preexisting syntax/ruby.vim to do the complicated parsing, and merely decorates that work with colors. There are a few lines of adjustment to all of that, but for the most part I let it lie as it is.
Feel free to try another approach.
Really, to do detailed.vim to the fullest, one would have to write overrides of syntax/*.vim for every language they cared about. The default parses are not rich enough in most languages, and even Ruby could use more tweaks.
I noticed that un-parenthesized arguments have the same color as the line they're in normally would (see the line in the screenshot in the README that's like
path = File.expand_path five_dirs_up+'/README.md'
). But if the arguments are in parens, they turn white (see the line in the screenshot in the README that's likeif contents = File.read(readme_path)
).Is that on purpose? If so, what is the purpose? If not, what is the cause? I'm not wishing, at the point, that it was one way or the other. Just something I noticed and wondered about.
The text was updated successfully, but these errors were encountered: