my .editorconfig
file look like this
root = true
[*.rush]
syntax = ruby
I have put it in the top of the folder hierarchy. However, the sublime text shows all the .rush
files as plain text and I have to manually change the syntax highlight to Ruby.
Anyone knows how to do this?
Syntax highlighting isn't supported by EditorConfig yet.
The core set of supported properties that is widely supported by all editors -
indent_style
indent_size
tab_width
end_of_line
charset
trim_trailing_whitespace
insert_final_newline
root
max_line_length
is supported by a limited number of editors (Emacs, Vim, Atom, ReSharper, Rider, AppCode, IntelliJ IDEA, PhpStorm, PyCharm, RubyMine, and WebStorm)
It's still an open issue (#190) to support highlighting.
You can find other proposed properties on its GitHub wiki.