annotate runtime/indent/raml.vim @ 33924:ccdb948c7273 v9.0.2160

patch 9.0.2160: instanceof() should use varargs as second arg Commit: https://github.com/vim/vim/commit/2025af165ec68d831f0f0f668a3ceac3f39142ef Author: Ernie Rael <errael@raelity.com> Date: Tue Dec 12 16:58:00 2023 +0100 patch 9.0.2160: instanceof() should use varargs as second arg Problem: instanceof() should use varargs as second arg Solution: Modify `instanceof()` to use varargs instead of list Modify `instanceof()` to use varargs instead of list Valid `instanceof()` arguments are `type`s. A `type` is not a value; it cannot be added to a list. This change is non-compatible with the current usage of instanceof; but instanceof is relatively new and it's a trivial change. fixes: #13421 closes: #13644 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 12 Dec 2023 17:15:03 +0100
parents 2b30a2b4bde2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14999
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim indent file
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: RAML (RESTful API Modeling Language)
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: mucheng <leisurelicht@gmail.com>
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " License: VIM LICENSE
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Latest Revision: 2018-11-03
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 if exists("b:did_indent")
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 finish
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 endif
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 " Same as yaml indenting.
2b30a2b4bde2 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 runtime! indent/yaml.vim