zeertzjq and Doug Kearns
808fcc5a75
vim-patch:9a899af: runtime(vim): Fix heredoc triggering misidentifcation of Vim9 script
...
The following let-heredoc can cause legacy scripts to be misidentified
as Vim9 script if it appears early in the file. Only match :vim9script
at the start of a line where it sensibly belongs.
let x =<< trim LINES
vim9script
...
LINES
fixes: vim/vim#20647 (reported by Maxim Kim).
closes : vim/vim#20654
https://github.com/vim/vim/commit/9a899af7e8e74bb094cfdfda857580b2e8ddf840
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2026-06-29 06:35:35 +08:00
zeertzjq and Doug Kearns
75ee4272a6
vim-patch:7895c9e: runtime(vim): Update ftplugin, add heredocs to b:match_words ( #40091 )
...
This depends on chrisbra/matchit#61 for full support of non-alphnum
heredoc markers.
closes : vim/vim#20399
https://github.com/vim/vim/commit/7895c9e6b8c6293b293656b48f2cd5f5a46a58b6
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2026-06-02 16:55:20 +00:00
zeertzjq and Mark Woods
8f1667445e
vim-patch:ac5af8e: runtime(vim): Fix for :VimKeywordPrg when syntax does not match
...
When using vim9-syntax plugin, :VimKeywordPrg does not lookup functions
correctly, as it relies solely on syntax names to find the help topic.
The syntax keyword used for builtin function is vi9FuncNameBuiltin in
vim9-syntax plugin, not vimFuncName expected by :VimKeywordPrg, so the
fallback rules apply, and there is no fallback rule for function calls.
Fix by just checking if the first char after topic is '(', and if so
assume help topic is a function.
closes : vim/vim#19320
https://github.com/vim/vim/commit/ac5af8ecd3025c2739ab79f6b8529ea0415c1380
Co-authored-by: Mark Woods <mwoods.online.ie@gmail.com >
2026-02-04 07:14:12 +08:00
zeertzjq and Doug Kearns
f3e2e718ec
vim-patch:c65643c: runtime(vim): Update ftplugin, fix option variable 'keywordprg' matching
...
- Match &option, and &[lg]:option variables.
- Match Ex commands after :bar.
- Fix matching of pre and post context text.
- Style - use '..' for string concatenation.
fixes vim/vim#17567
closes : vim/vim#17653
https://github.com/vim/vim/commit/c65643cbec4f5a77a2d30232c64c258b5f0f5c09
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2026-02-04 07:13:06 +08:00
zeertzjq and Mateo Gjika
f79bddd669
vim-patch:b8efcc0: runtime(vim): set 'path' to common Vim directories
...
closes : vim/vim#19219
https://github.com/vim/vim/commit/b8efcc02028d9a3aa5844978025997e258d84469
Co-authored-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com >
2026-01-27 07:20:41 +08:00
zeertzjq and Christian Brabandt
7e450aa383
vim-patch:b405c79: runtime(vim): set 'comments' based on script type (legacy/Vim9) ( #35359 )
...
fixes : vim/vim#18000
https://github.com/vim/vim/commit/b405c790046fc6758bf4a90feb6a67c2411685a0
Co-authored-by: Christian Brabandt <cb@256bit.org >
2025-08-17 01:26:37 +00:00
zeertzjq and Konfekt
9a02906c44
vim-patch:08a410f: runtime(vim): recognize <...> strings (and keys) for 'keywordprg' ( #32752 )
...
see :help E499 and :h key-notation
closes : vim/vim#16795
https://github.com/vim/vim/commit/08a410f674a340f137623526bf8159d5a476f729
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
2025-03-06 19:40:47 +08:00
zeertzjq and Konfekt
9c43e5cd4a
vim-patch:580e457: runtime(vim): make VimKeywordPrg even smarter for regexes
...
closes : vim/vim#16729
https://github.com/vim/vim/commit/580e457a2a5fa63b9be0bf5f2c81434e157bcc0a
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
2025-02-26 07:31:49 +08:00
6db439ff01
vim-patch:094494b: runtime(vim): improve &keywordprg in ftplugin
...
- let keywordprg in vim filetype handle context-sensitive help calls by
detecting the syntax group of the word under the cursor
- reformat whitespace
- add modeline
related: vim/vim#16677
closes : vim/vim#16680
https://github.com/vim/vim/commit/094494bf2eef8d788944b2b00b3361feb545d3ae
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com >
Co-authored-by: Andrew Radev <andrey.radev@gmail.com >
Co-authored-by: "D. Ben Knoble" <ben.knoble+github@gmail.com >
Co-authored-by: Gary Johnson <garyjohn@spocom.com >
Co-authored-by: Tim Pope <code@tpope.net >
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
Co-authored-by: Christian Brabandt <cb@256bit.org >
2025-02-26 07:31:03 +08:00
Christian Clason and Doug Kearns
a942dea157
vim-patch:7ceaa8f: runtime(vim): Remove trailing comma from match_words
...
fixes : vim/vim#16377 (`filetype plugin indent on` breaks matchit).
closes : vim/vim#16389
https://github.com/vim/vim/commit/7ceaa8f3ddbaad75fa02f91c0b354661b38253cb
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-01-07 08:03:13 +01:00
zeertzjq and Doug Kearns
c26951b1d6
vim-patch:fc61cfd: runtime(vim): Update matchit pattern, no Vim9 short names ( #31843 )
...
Abbreviated :enum and :interface commands are no longer supported.
https://github.com/vim/vim/commit/fc61cfd60e6d99765d1a68d39d6613e0917c7c56
Co-authored-by: Doug Kearns <dougkearns@gmail.com >
2025-01-03 19:20:21 +08:00
Carman Fu
41b70a0dea
fix(runtime): set 'keywordprg' only once in vim ftplugin
2024-07-26 08:45:51 +08:00
Christian Clason and Riley Bruins
2f5b8a0092
vim-patch:9.1.0464: no whitespace padding in commentstring option in ftplugins
...
Problem: no whitespace padding in commentstring option in ftplugins
Solution: Change default to include whitespace padding, update
existing filetype plugins with the new default value
(Riley Bruins)
closes : vim/vim#14843
https://github.com/vim/vim/commit/0a0830624a260660c7fa692ecb7e6e5de09114ba
Co-authored-by: Riley Bruins <ribru17@hotmail.com >
2024-06-04 10:38:55 +02:00
zeertzjq and Shane-XB-Qian
bcfad7fe62
vim-patch:e92ed1b45c54 ( #28337 )
...
runtime(vim): don't set compiler, update a comment for vimdoc compiler (vim/vim#14532 )
https://github.com/vim/vim/commit/e92ed1b45c5432235b0541521124d965b9d6a9a2
Co-authored-by: Shane-XB-Qian <shane.qian@foxmail.com >
2024-04-15 07:39:32 +08:00
zeertzjq and Wu, Zhenyu <wuzhenyu@ustc.edu>
c6d1144515
vim-patch:fcbefe74f161 ( #28285 )
...
runtime(compiler): add vimdoc
closes : vim/vim#14459
https://github.com/google/vimdoc generates vim help files from vimscript files
https://github.com/vim/vim/commit/fcbefe74f1619dfd925033d83a6d233c686409d4
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu >
2024-04-12 05:48:25 +08:00
zeertzjq and dkearns
d627497156
vim-patch:04e5363b8238 ( #28268 )
...
runtime(vim): Improve Vim9 and legacy-script comment highlighting (vim/vim#13104 )
This is a first-pass attempt to limit matching of Vim9 and legacy-script
comments to the appropriate syntactic contexts.
Vim9-script comments are highlighted at top level in a Vim9-script file,
in all :def functions, and in all :autocmd and :commmand command blocks.
Legacy-script comments are highlighted at top level in a legacy script
file, in all :func functions and in the Vim9-script preamble before the
:vim9script marker command.
Fixes vim/vim#13047 , vim/vim#11307 and vim/vim#9587 .
https://github.com/vim/vim/commit/04e5363b823827f144409df011376d00ea6df750
Co-authored-by: dkearns <dougkearns@gmail.com >
2024-04-11 07:41:44 +08:00
zeertzjq and dkearns
7db83d47b2
vim-patch:21ce159e0561
...
runtime(vim): Update syntax and ftplugin files (vim/vim#13924 )
Improve matching of line-continuations and interspersed comments.
These are now also matched in multiline syntax command patterns,
dictionary literals, and parenthesised expressions and argument lists.
https://github.com/vim/vim/commit/21ce159e05615fd139c564b734a4bffc9f3fdc4b
Co-authored-by: dkearns <dougkearns@gmail.com >
2024-01-29 11:25:35 +08:00
zeertzjq and Bram Moolenaar
f1e51528d2
vim-patch:71b6d3397649
...
Update runtime files
https://github.com/vim/vim/commit/71b6d3397649fed68ef587aa863fcbdf5fdb057a
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2024-01-29 11:25:35 +08:00
Christian Clason and dkearns
e606604322
vim-patch:fea96c00e55a
...
runtime(vim): Update ftplugin - comment motions (vim/vim#13412 )
Fix the pattern used by comment-motion mappings to match the start of a
block comment.
Block-comment start lines were being ignored if the previous line
contained a double-quote character anywhere in the line. Line comments
should only be ignored if the previous line is a full-line comment and,
therefore, part of the current block comment.
https://github.com/vim/vim/commit/fea96c00e55a71e3007907ff4f7ad513bb9ff0eb
Co-authored-by: dkearns <dougkearns@gmail.com >
2023-10-23 19:48:50 +02:00
Sean Dewar and Christian Brabandt
cbf54ec2a5
vim-patch:e978b4534a5e ( #24697 )
...
Farewell to Bram and dedicate upcoming Vim 9.1 to him (vim/vim#12749 )
https://github.com/vim/vim/commit/e978b4534a5e10471108259118c0ef791106fd92
Also update the header for the following files that were converted to Vim9
script upstream:
- autoload/ccomplete.lua (vim9jitted)
- ftplugin.vim
- ftplugof.vim
- indent.vim
- indent/vim.vim
- makemenu.vim
This also updates the "Last Change" dates, even if some changes (due to rewrites
to Vim9 script) were not ported.
There's still a few other places where Bram is still mentioned as a maintainer
in the files we and Vim have:
- ftplugin/bash.vim
- indent/bash.vim
- indent/html.vim
- indent/mail.vim
- macros/accents.vim
- macros/editexisting.vim
- syntax/bash.vim
- syntax/shared/typescriptcommon.vim
- syntax/tar.vim
- syntax/typescript.vim
- syntax/typescriptreact.vim
- syntax/zimbu.vim
Maybe future patches will address that.
Also exclude changes to .po files that didn't apply automatically (the
`:messages` maintainer string isn't used in Nvim anyway).
Co-authored-by: Christian Brabandt <cb@256bit.org >
2023-08-13 13:25:10 +01:00
zeertzjq and Bram Moolenaar
ee26b227e1
vim-patch:partial:938ae280c79b ( #22356 )
...
Update runtime files.
https://github.com/vim/vim/commit/938ae280c79b8cdb0fca60336ec4c090ecd8bb5a
Partially skip autocmd.txt: needs patch 8.2.5011.
Partially skip builtin.txt: needs patch 9.0.0411.
Partially skip eval.txt: needs patch 8.2.3783.
Cherry-pick :map-meta-keys from patch 9.0.1276.
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-02-21 23:50:29 +08:00
Christian Clason and Bram Moolenaar
3576776903
vim-patch:86b4816766d9 ( #21314 )
...
Update runtime files
https://github.com/vim/vim/commit/86b4816766d976a7ecd4403eca1f8bf6b4105800
vim-patch:9.0.1029: autoload directory missing from distribution
Problem: Autoload directory missing from distribution.
Solution: Add the autoload/zig directory to the list of distributed files.
https://github.com/vim/vim/commit/84dbf855fb2d883481f74ad0ccf3df3f8837e6bf
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2022-12-08 16:33:38 +01:00
Christian Clason
91a2e7a571
vim-patch:71b6d3397649 ( #20144 )
...
Update runtime files
https://github.com/vim/vim/commit/71b6d3397649fed68ef587aa863fcbdf5fdb057a
2022-09-10 14:54:13 +02:00
Christian Clason
a5e846b996
vim-patch:partial: 48c3f4e0bff7 ( #19684 )
...
vim-patch:partial:48c3f4e0bff7
Update runtime files
https://github.com/vim/vim/commit/48c3f4e0bff7efd289a7001b68c777b6f89a7057
partially skip `options.txt` (needs 9.0.0138)
2022-08-09 10:43:28 +02:00
Jan Edmund Lazo
7e36c9a2d3
vim-patch:56994d215815
...
Update runtime files.
https://github.com/vim/vim/commit/56994d215815139207f3c5ce02a1720e44e93c09
2021-05-02 12:44:04 -04:00
Jan Edmund Lazo
6a8436065c
vim-patch:9faec4e3d439
...
Update runtime files.
https://github.com/vim/vim/commit/9faec4e3d439968e21ad74e917aebb289df8f849
Omit vim9.
2021-05-02 10:23:35 -04:00
Jan Edmund Lazo
2081504a33
vim-patch:942db23c9cb7
...
Update runtime files
https://github.com/vim/vim/commit/942db23c9cb7532d68048530d749eb84ca94d0cd
Omit po files.
2021-05-01 23:47:11 -04:00
Jan Edmund Lazo
ac83c6eba6
vim-patch:e0e391755432
...
Update runtime files.
https://github.com/vim/vim/commit/e0e3917554327f2524066f89fbbef9c83c1535da
2021-05-01 23:19:58 -04:00
Jan Edmund Lazo
8f8602d2df
vim-patch:98a29d00a48e
...
Update runtime files.
https://github.com/vim/vim/commit/98a29d00a48e15a50e2850e1a29b7d475c531b0c
2021-05-01 23:19:57 -04:00
Jan Edmund Lazo
dd2bc06411
vim-patch:82be4849eed0
...
Update runtime files.
https://github.com/vim/vim/commit/82be4849eed0b8fbee45bc8da99b685ec89af59a
2021-05-01 23:19:57 -04:00
Jan Edmund Lazo
9f54d125d2
vim-patch:3d1cde8a2f28
...
Update runtime files.
https://github.com/vim/vim/commit/3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0
2021-04-29 21:08:09 -04:00
Jan Edmund Lazo
09f3e62bc6
vim-patch:e7b1ea0276cc
...
Update runtime files.
https://github.com/vim/vim/commit/e7b1ea0276cc83cd5c612f3189a174a60d57b5ed
2021-04-29 20:42:16 -04:00
Jan Edmund Lazo
0a0034718c
vim-patch:2547aa930b59
...
Update runtime files.
https://github.com/vim/vim/commit/2547aa930b59f5e2bcb70e81d5a57ed461e59b4f
Omit modifyOtherKeys, vim9, vim.man.
2021-04-29 09:27:19 -04:00
Jan Edmund Lazo
27fb03f5a0
vim-patch:7ff78465f705
...
Update runtime files
https://github.com/vim/vim/commit/7ff78465f7057a672a6de0d75d56286da253501b
2021-04-28 23:04:14 -04:00
Jan Edmund Lazo
7c6ca6fed8
vim-patch:73fef33014db
...
Update runtime files
https://github.com/vim/vim/commit/73fef33014dbf21fc59e7e47fb091117868d82fb
Omit usr_46.txt.
2021-04-28 22:14:37 -04:00
Jan Edmund Lazo
65821cc1b9
vim-patch:388a5d4f20b4
...
Update runtime files
https://github.com/vim/vim/commit/388a5d4f20b4b64341d1604aa238cab85827b892
Omit vim9.
2021-04-28 21:29:57 -04:00
Justin M. Keyes
7d2fbb9012
vim-patch:93a1df2c205c
...
Update runtime files.
https://github.com/vim/vim/commit/93a1df2c205c8399d96c172d9483e0793d32892a
2018-10-29 23:57:24 +01:00
Justin M. Keyes
228bc4c416
vim-patch:d473c8c10126
...
Update runtime files.
https://github.com/vim/vim/commit/d473c8c101262702ea9eeb14907ee20a786942b2
2018-10-29 10:01:44 +01:00
Justin M. Keyes
de682a4f9e
vim-patch:fd35811ca528
...
Update runtime files, add Danish translations.
https://github.com/vim/vim/commit/fd35811ca528de7612f9571bce20ef4c392fe5f7
2018-10-29 09:43:50 +01:00
Justin M. Keyes
dae1213e57
vim-patch:f0b03c4e98f8
...
Update runtime files
https://github.com/vim/vim/commit/f0b03c4e98f8a7184d8b4a5d702cbcd602426923
Note: haskell changes were included in 942f3587c3
2018-10-28 13:57:08 +01:00
Bruno Michel
6a29a7bfb0
vim-patch:7f2e9d7c9cdf
...
Update runtime files.
https://github.com/vim/vim/commit/7f2e9d7c9cdfc5201a899b7b610edf64bf80c45f
2018-10-07 17:35:24 +02:00
Peter Renström
6720fe253e
runtime: K: prefer Vim help instead of man #3104
2017-07-08 15:11:56 +02:00
Florian Walch
2624d66045
vim-patch:37c2403
...
Update runtime files.
https://code.google.com/p/vim/source/detail?r=37c24033b2601a4a0953970a0ec85d5537101915
2015-01-04 20:28:08 +01:00
Justin M. Keyes
a98a6996c2
re-integrate runtime/ vim-patch:0 #938
...
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7
Excluding:
Amiga icons (*.info, icons/)
doc/hangulin.txt
tutor/
spell/
lang/ (only used for menu translations)
macros/maze/, macros/hanoi/, macros/life/, macros/urm/
These were used to test vi compatibility.
termcap
"Demonstration of a termcap file (for the Amiga and Archimedes)"
Helped-by: Rich Wareham <rjw57@cam.ac.uk >
Helped-by: John <john.schmidt.h@gmail.com >
Helped-by: Yann <yann@yann-salaun.com >
Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com >
Helped-by: drasill <github@tof2k.com >
Helped-by: Tae Sandoval Murgan <taecilla@gmail.com >
Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com >
2014-07-29 02:12:31 +00:00