]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(filetype): update htmldjango detection
authorAfiq Nazrie <afnazrie@gmail.com>
Tue, 18 Jun 2024 17:59:53 +0000 (19:59 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 18 Jun 2024 17:59:53 +0000 (19:59 +0200)
commit9718ed7ab989c0a0be88a0d749f24321eb0e6af1
tree134e3b2b2d90dcc89b51f8a34df0cbf6330df93c
parent2dadf5304a2ac75c8f85532db9ffc292f4cbd1a1
runtime(filetype): update htmldjango detection

- update tags to detect djangohtml based on
  https://docs.djangoproject.com/en/5.0/ref/templates/builtins/#built-in-tag-reference

- increase the lines to inspect to 40 lines

  10 lines is too few and might result in high false negative.
  Increasing it to 40 lines should reduce the false negative.

closes: #15037

Signed-off-by: Afiq Nazrie <afnazrie@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/dist/ft.vim