mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
[language-sass] Force the TextMate grammar when running SassDoc specs
This commit is contained in:
parent
da1912d1a7
commit
5472e32e21
@ -3,6 +3,10 @@ describe('SassDoc grammar', function() {
|
||||
let grammar = null;
|
||||
|
||||
beforeEach(function () {
|
||||
// There isn't a Tree-sitter grammar for SassDoc that I'm aware of. Users
|
||||
// who expect thorough highlighting of SassDoc can add a scope-specific
|
||||
// override to prefer the TextMate-style SCSS grammar.
|
||||
atom.config.set('core.useTreeSitterParsers', false)
|
||||
waitsForPromise(() => atom.packages.activatePackage('language-sass'));
|
||||
|
||||
runs(() => grammar = atom.grammars.grammarForScopeName('source.css.scss'));
|
||||
|
Loading…
Reference in New Issue
Block a user