diff --git a/.gitmodules b/.gitmodules index 99ed6465..6293880d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -618,3 +618,6 @@ [submodule "vendor/grammars/BrightScript.tmbundle"] path = vendor/grammars/BrightScript.tmbundle url = https://github.com/cmink/BrightScript.tmbundle +[submodule "vendor/grammars/Stylus"] + path = vendor/grammars/Stylus + url = https://github.com/billymoon/Stylus diff --git a/grammars.yml b/grammars.yml index 540c36c8..7e74865f 100644 --- a/grammars.yml +++ b/grammars.yml @@ -91,6 +91,8 @@ vendor/grammars/Slash.tmbundle: vendor/grammars/Stata.tmbundle: - source.mata - source.stata +vendor/grammars/Stylus/: +- source.stylus vendor/grammars/Sublime-Coq: - source.coq vendor/grammars/Sublime-HTTP: diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index b2dc3698..6d36fa44 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2894,7 +2894,7 @@ Stylus: group: CSS extensions: - .styl - tm_scope: none + tm_scope: source.stylus ace_mode: stylus SuperCollider: diff --git a/vendor/grammars/Stylus b/vendor/grammars/Stylus new file mode 160000 index 00000000..b9214d1f --- /dev/null +++ b/vendor/grammars/Stylus @@ -0,0 +1 @@ +Subproject commit b9214d1ffd5031b60d77d07a6f315a934d4a473e