annotate runtime/indent/htmldjango.vim @ 22190:da851f3b6a0b v8.2.1644

patch 8.2.1644: Vim9: cannot assign 1 and 0 to bool at script level Commit: https://github.com/vim/vim/commit/ba7c0d7b4ce03336b4aebe1959c1a8342fa6dbd4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 9 18:54:42 2020 +0200 patch 8.2.1644: Vim9: cannot assign 1 and 0 to bool at script level Problem: Vim9: cannot assign 1 and 0 to bool at script level. Solution: Add the TTFLAG_BOOL_OK flag to the type. Fix name of test function.
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Sep 2020 19:00:04 +0200
parents e63691e7c504
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1121
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
1 " Vim indent file
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
2 " Language: Django HTML template
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
3 " Maintainer: Dave Hodder <dmh@dmh.org.uk>
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
4 " Last Change: 2007 Jan 25
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
5
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
6 " Only load this indent file when no other was loaded.
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
7 if exists("b:did_indent")
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
8 finish
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
9 endif
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
10
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
11 " Use HTML formatting rules.
e63691e7c504 updated for version 7.1a
vimboss
parents:
diff changeset
12 runtime! indent/html.vim