mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-18 08:23:40 -05:00
Fix detecting jinja templates, #553
This commit is contained in:
@@ -180,5 +180,8 @@ rules:
|
||||
- lines: 1
|
||||
pattern: '^(%|<[%&].*>)'
|
||||
filetype: mason
|
||||
- lines: 50
|
||||
pattern: '{{.*}}|{%-?\s*(end.*|extends|block|macro|set|if|for|include|trans)\b'
|
||||
filetype: jinja.html
|
||||
- filetype: html
|
||||
|
||||
|
||||
Reference in New Issue
Block a user