In a .sublime-syntax
file, is there a way to extends
a built-in package and also replace the existing syntax?
I want to extend the built-in CSS syntax. Right now, I have a ~/Library/Application Support/Sublime Text 3/Packages/CSS/CSS.sublime-syntax
file. This overwrites the built-in CSS.sublime-syntax
file, as expected.
However, if I use extends: Packages/CSS/CSS.sublime-syntax
, the app hangs in the YAML parser and has to be force quit.
I’d like to do something like:
extends: Sublime Text.app/MacOS/Packages/CSS/CSS.sublime-syntax
.
Thanks!