Hi
It looks like snippets on multiple lines are not working when file begins or contains “<%” pattern.
This pattern is widely user in some template languages like Mako (e.g. <%inherit file="/index.html" />).
Scenario:
- New file with HTML type. Put:
<%
Test1
Test2
Test3
Test4
2. Select text:
Test1
Test2
Test3
Test4
and press Ctrl+Shift+L
3. Press ‘p’ and then press Tab key.
Instead of:
[code]<%
Test1
Test2
Test3
Test4
[/code] Sublime inserts the following code: [code]<% p p p p[/code] If I've remove '%' sign it works fine. It looks like a problem with HTML lexer (wrong scope is used)?Regards,
Artur