Created
November 12, 2014 00:14
-
-
Save anonymous/43876e18f7d8c9e76f30 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": | |
[ | |
{ | |
"file_exclude_patterns": | |
[ | |
"sftp-config.json" | |
], | |
"follow_symlinks": true, | |
"path": "/Users/Sean/Dropbox/Sites/Dev" | |
} | |
] | |
} |
Interesting. Try the following snippet in your project file.
{
"syntax_override": {
"\\.html$": [ "Craft-Twig", "Syntaxes", "HTML (Twig)" ]
}
}
I've only just seen your response, apologies!
Just tried this out and it works like a charm, thank you!
Thanks for keeping this gist alive!
I was getting an error with @reywood's snippet, this one worked for me:
{
"folders":
[
{
"follow_symlinks": true,
"path": "/Users/viget/Projects/ccusa"
}
],
"syntax_override":
{
"\\.html$": ["Craft-Twig", "Syntaxes", "Craft-Twig"]
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OK, I've just managed to get the error message showing again, and it states:
Error loading syntax file "Packages/Craft-Twig/HTML (Twig).tmLanguage": Unable to open Packages/Craft-Twig/HTML (Twig).tmLanguage
I'm wondering if its down to the fact that the
HTML (Twig).tmlanguage
file is within a subfolder namedSyntaxes
within theCraft-Twig
folder.(again these folders are all within the
Sublime Text 3>Cache
folder.)