Mercurial > vim
annotate runtime/macros/matchit.vim @ 22860:53acb89ec9f2 v8.2.1977
patch 8.2.1977: Vim9: error for using a string in a condition is confusing
Commit: https://github.com/vim/vim/commit/ea2d407f9c144bb634c59017944e4930ed7f80a2
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 12 12:08:51 2020 +0100
patch 8.2.1977: Vim9: error for using a string in a condition is confusing
Problem: Vim9: error for using a string in a condition is confusing.
Solution: Give a more specific error. Also adjust the compile time type
checking for || and &&.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 12 Nov 2020 12:15:04 +0100 |
parents | 9130644aec5c |
children |
rev | line source |
---|---|
8728
b1ca6aa215b7
commit https://github.com/vim/vim/commit/da64ab322ae35e473a24b211d22d05b1439aa05c
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " Load the matchit package. |
b1ca6aa215b7
commit https://github.com/vim/vim/commit/da64ab322ae35e473a24b211d22d05b1439aa05c
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 " For those users who were loading the matchit plugin from here. |
10863
9130644aec5c
patch 8.0.0321: errors when trying to use scripts in tiny version
Christian Brabandt <cb@256bit.org>
parents:
8728
diff
changeset
|
3 if 1 |
9130644aec5c
patch 8.0.0321: errors when trying to use scripts in tiny version
Christian Brabandt <cb@256bit.org>
parents:
8728
diff
changeset
|
4 packadd matchit |
9130644aec5c
patch 8.0.0321: errors when trying to use scripts in tiny version
Christian Brabandt <cb@256bit.org>
parents:
8728
diff
changeset
|
5 endif |