mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-17 16:03:40 -05:00
Improve django detection, closes #585
This commit is contained in:
@@ -188,7 +188,7 @@ rules:
|
||||
filetype: mason
|
||||
- lines: 50
|
||||
rules:
|
||||
- pattern: '{%-?\s*(end.*|extends|block|macro|set|if|for|include|trans)\b|{#\s+'
|
||||
- pattern: '{%-?\s*(end.*|extends|block|macro|set|if|for|include|trans|load)\b|{#\s+'
|
||||
filetype: htmldjango
|
||||
- pattern: '\bDTD\s+XHTML\s'
|
||||
filetype: xhtml
|
||||
|
||||
Reference in New Issue
Block a user