-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Twig snippets only for *.twig files #24
Comments
As long as the syntax is being used for the file, filename shouldn't matter. Are snippets not working for you in files using the syntax? |
I honestly dont get what what you mean when saying syntax. Are you talking about the trigger word like "for"? Anyway when I rename my file to have .twig as extension it works but no luck with .html |
What text editor are you using? What I meant was, if you change the syntax highlighting of the opened file to HTML (Twig) then the snippets will work as expected. |
Im using sublime Text 2. Will try your advice and come back with the result, currently not next to my PC. |
Ok this seems to work. Thx for the tip |
No problem. |
Hi there,
could you widden the scope of to apply to .html/.htm files too?
The reason is that I use .html named files as views instead of the default .twig
Maybe create some settings for this so the users can change it according to their needs.
Greetz
Zewa
The text was updated successfully, but these errors were encountered: