Mercurial > vim
annotate runtime/ftplugin/fish.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 | 02939ae3aaca |
children | 7c7432a53a6c |
rev | line source |
---|---|
32004 | 1 " Vim filetype plugin file |
2 " Language: fish | |
3 " Maintainer: Nicholas Boyle (github.com/nickeb96) | |
4 " Repository: https://github.com/nickeb96/fish.vim | |
5 " Last Change: February 1, 2023 | |
33051
02939ae3aaca
runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents:
32004
diff
changeset
|
6 " 2023 Aug 28 by Vim Project (undo_ftplugin) |
32004 | 7 |
8 if exists("b:did_ftplugin") | |
9 finish | |
10 endif | |
11 let b:did_ftplugin = 1 | |
12 | |
13 setlocal iskeyword=@,48-57,_,192-255,-,. | |
14 setlocal comments=:# | |
15 setlocal commentstring=#%s | |
16 setlocal formatoptions+=crjq | |
33051
02939ae3aaca
runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents:
32004
diff
changeset
|
17 |
02939ae3aaca
runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents:
32004
diff
changeset
|
18 let b:undo_ftplugin = "setl cms< com< fo< isk<" |