annotate runtime/indent/xsd.vim @ 22196:d835f2fdfcfc v8.2.1647

patch 8.2.1647: Vim9: result of expression with && and || is not a bool Commit: https://github.com/vim/vim/commit/4ed124cc6c0c55385c3b2fed9f9357baf42edbcc Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 9 20:03:46 2020 +0200 patch 8.2.1647: Vim9: result of expression with && and || is not a bool Problem: Vim9: result of expression with && and || cannot be assigned to a bool variable. Solution: Add the TTFLAG_BOOL_OK flag and convert the value if needed.
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Sep 2020 20:15:03 +0200
parents 03b3684919e3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
323
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
1 " Vim indent file
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
2 " Language: .xsd files (XML Schema)
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
3 " Maintainer: Nobody
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
4 " Last Change: 2005 Jun 09
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
5
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
6 " Only load this indent file when no other was loaded.
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
7 if exists("b:did_indent")
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
8 finish
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
9 endif
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
10
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
11 " Use XML formatting rules
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
12 runtime! indent/xml.vim
03b3684919e3 updated for version 7.0084
vimboss
parents:
diff changeset
13