diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-23 23:25:01 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-23 23:25:01 +0200 |
commit | 7e2d060f880a2d1d8e4742e27709869425983335 (patch) | |
tree | bf64b510f26eaf046669dc0e94e5f263e154998e /heuristics.yaml | |
parent | 3a298c975999f55a84fb40b9bb87be56b2a73953 (diff) | |
download | vim-polyglot-7e2d060f880a2d1d8e4742e27709869425983335.tar.gz vim-polyglot-7e2d060f880a2d1d8e4742e27709869425983335.zip |
Fix detecting jinja templates, #553
Diffstat (limited to 'heuristics.yaml')
-rw-r--r-- | heuristics.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/heuristics.yaml b/heuristics.yaml index 35350a69..7cc6a273 100644 --- a/heuristics.yaml +++ b/heuristics.yaml @@ -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 |