summaryrefslogtreecommitdiffstats
path: root/heuristics.yaml
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-24 10:50:19 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-24 10:50:19 +0200
commite2bbed8acc1f1cf498a0085cf771cf9bf40fb709 (patch)
tree001f4955c399ac71b34fa38f2a3bd63526df50d6 /heuristics.yaml
parent6b4da2753814cc61cd842c589d829f03cd7ca98d (diff)
downloadvim-polyglot-e2bbed8acc1f1cf498a0085cf771cf9bf40fb709.tar.gz
vim-polyglot-e2bbed8acc1f1cf498a0085cf771cf9bf40fb709.zip
Fix django highlighting, fixes #553
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 60df69b5..c53a704c 100644
--- a/heuristics.yaml
+++ b/heuristics.yaml
@@ -183,7 +183,7 @@ rules:
- lines: 50
rules:
- pattern: '{{.*}}|{%-?\s*(end.*|extends|block|macro|set|if|for|include|trans)\b|{#\s+'
- filetype: jinja.html
+ filetype: htmldjango
- pattern: '\bDTD\s+XHTML\s'
filetype: xhtml
- filetype: html