]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(dosbatch): Add syn-sync to syntax file
authorKen Takata <kentkt@csc.jp>
Wed, 14 Aug 2024 19:56:42 +0000 (21:56 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 14 Aug 2024 19:59:41 +0000 (21:59 +0200)
commit11c92be8974f04ab12ff3f9cd89a692bbd6c46d9
treeea6787df0e635310226f4d9f09aacdfe9d12d2cc
parentfc762dfc9fa95696409067bcb565e846c9ccfc5a
runtime(dosbatch): Add syn-sync to syntax file

Closing parentheses were often highlighted as errors.
Add a syntax sync command to reduce the error.

Also fix that `defined` was not highlighted as an operator inside
parentheses.  E.g.:
```
if defined foo (
    if defined bar (
        ...
    )
)
```
The first `defined` was highlighted but the second one was not.

related: #15453

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/dosbatch.vim