summaryrefslogtreecommitdiffstats
path: root/heuristics.yaml
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-14 23:26:36 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-14 23:26:36 +0200
commitba11e0f1ad214a0696ab48fbfdf06afd08ad2f91 (patch)
tree5d023d134d9222f939b3f8b015f133cad31a8c41 /heuristics.yaml
parentc45f0b8f640156142773eeb4d13b86b79605291a (diff)
downloadvim-polyglot-ba11e0f1ad214a0696ab48fbfdf06afd08ad2f91.tar.gz
vim-polyglot-ba11e0f1ad214a0696ab48fbfdf06afd08ad2f91.zip
Improve django detection, closes #585
Diffstat (limited to 'heuristics.yaml')
-rw-r--r--heuristics.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/heuristics.yaml b/heuristics.yaml
index 4080cbc4..23f63bb4 100644
--- a/heuristics.yaml
+++ b/heuristics.yaml
@@ -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