Skip to content
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

Ctrl+/ behaviour should not be changed in regular HTML files #1

Open
glen-84 opened this issue Apr 19, 2016 · 1 comment
Open

Ctrl+/ behaviour should not be changed in regular HTML files #1

glen-84 opened this issue Apr 19, 2016 · 1 comment

Comments

@glen-84
Copy link

glen-84 commented Apr 19, 2016

When I use Ctrl+/ in a regular HTML file (*.html) I expect to get an HTML comment, and not a Twig comment.

Can this be limited to *.twig files?

@susedan
Copy link

susedan commented Feb 6, 2017

@glen-84 @Bajdzis This was bothering me as well. It can be fixed by replacing the package.json with the following. https://github.com/susedan/vscode-twig-pack/blob/master/package.json

Note: file extension must be .twig or .html.twig as .html files will no longer trigger twig formatting or snippets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants