summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/ftplugin/vim.vim
AgeCommit message (Collapse)AuthorFiles
2026-02-04vim-patch:ac5af8e: runtime(vim): Fix for :VimKeywordPrg when syntax does not ↵zeertzjq1
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-04vim-patch:c65643c: runtime(vim): Update ftplugin, fix option variable ↵zeertzjq1
'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-01-27vim-patch:b8efcc0: runtime(vim): set 'path' to common Vim directorieszeertzjq1
closes: vim/vim#19219 https://github.com/vim/vim/commit/b8efcc02028d9a3aa5844978025997e258d84469 Co-authored-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>
2025-08-17vim-patch:b405c79: runtime(vim): set 'comments' based on script type ↵zeertzjq1
(legacy/Vim9) (#35359) fixes: vim/vim#18000 https://github.com/vim/vim/commit/b405c790046fc6758bf4a90feb6a67c2411685a0 Co-authored-by: Christian Brabandt <cb@256bit.org>
2025-03-06vim-patch:08a410f: runtime(vim): recognize <...> strings (and keys) for ↵zeertzjq1
'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-02-26vim-patch:580e457: runtime(vim): make VimKeywordPrg even smarter for regexeszeertzjq1
closes: vim/vim#16729 https://github.com/vim/vim/commit/580e457a2a5fa63b9be0bf5f2c81434e157bcc0a Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
2025-02-26vim-patch:094494b: runtime(vim): improve &keywordprg in ftpluginbrianhuster1
- 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-01-07vim-patch:7ceaa8f: runtime(vim): Remove trailing comma from match_wordsChristian Clason1
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-03vim-patch:fc61cfd: runtime(vim): Update matchit pattern, no Vim9 short names ↵zeertzjq1
(#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>
2024-07-26fix(runtime): set 'keywordprg' only once in vim ftpluginCarman Fu1
2024-06-04vim-patch:9.1.0464: no whitespace padding in commentstring option in ftpluginsChristian Clason1
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-04-15vim-patch:e92ed1b45c54 (#28337)zeertzjq1
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-12vim-patch:fcbefe74f161 (#28285)zeertzjq1
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-11vim-patch:04e5363b8238 (#28268)zeertzjq1
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-01-29vim-patch:21ce159e0561zeertzjq1
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-29vim-patch:71b6d3397649zeertzjq1
Update runtime files https://github.com/vim/vim/commit/71b6d3397649fed68ef587aa863fcbdf5fdb057a Co-authored-by: Bram Moolenaar <Bram@vim.org>
2023-10-23vim-patch:fea96c00e55aChristian Clason1
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-08-13vim-patch:e978b4534a5e (#24697)Sean Dewar1
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-02-21vim-patch:partial:938ae280c79b (#22356)zeertzjq1
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>
2022-12-08vim-patch:86b4816766d9 (#21314)Christian Clason1
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-09-10vim-patch:71b6d3397649 (#20144)Christian Clason1
Update runtime files https://github.com/vim/vim/commit/71b6d3397649fed68ef587aa863fcbdf5fdb057a
2022-08-09vim-patch:partial: 48c3f4e0bff7 (#19684)Christian Clason1
vim-patch:partial:48c3f4e0bff7 Update runtime files https://github.com/vim/vim/commit/48c3f4e0bff7efd289a7001b68c777b6f89a7057 partially skip `options.txt` (needs 9.0.0138)
2021-05-02vim-patch:56994d215815Jan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/56994d215815139207f3c5ce02a1720e44e93c09
2021-05-02vim-patch:9faec4e3d439Jan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/9faec4e3d439968e21ad74e917aebb289df8f849 Omit vim9.
2021-05-01vim-patch:942db23c9cb7Jan Edmund Lazo1
Update runtime files https://github.com/vim/vim/commit/942db23c9cb7532d68048530d749eb84ca94d0cd Omit po files.
2021-05-01vim-patch:e0e391755432Jan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/e0e3917554327f2524066f89fbbef9c83c1535da
2021-05-01vim-patch:98a29d00a48eJan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/98a29d00a48e15a50e2850e1a29b7d475c531b0c
2021-05-01vim-patch:82be4849eed0Jan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/82be4849eed0b8fbee45bc8da99b685ec89af59a
2021-04-29vim-patch:3d1cde8a2f28Jan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0
2021-04-29vim-patch:e7b1ea0276ccJan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/e7b1ea0276cc83cd5c612f3189a174a60d57b5ed
2021-04-29vim-patch:2547aa930b59Jan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/2547aa930b59f5e2bcb70e81d5a57ed461e59b4f Omit modifyOtherKeys, vim9, vim.man.
2021-04-28vim-patch:7ff78465f705Jan Edmund Lazo1
Update runtime files https://github.com/vim/vim/commit/7ff78465f7057a672a6de0d75d56286da253501b
2021-04-28vim-patch:73fef33014dbJan Edmund Lazo1
Update runtime files https://github.com/vim/vim/commit/73fef33014dbf21fc59e7e47fb091117868d82fb Omit usr_46.txt.
2021-04-28vim-patch:388a5d4f20b4Jan Edmund Lazo1
Update runtime files https://github.com/vim/vim/commit/388a5d4f20b4b64341d1604aa238cab85827b892 Omit vim9.
2018-10-29vim-patch:93a1df2c205cJustin M. Keyes1
Update runtime files. https://github.com/vim/vim/commit/93a1df2c205c8399d96c172d9483e0793d32892a
2018-10-29vim-patch:d473c8c10126Justin M. Keyes1
Update runtime files. https://github.com/vim/vim/commit/d473c8c101262702ea9eeb14907ee20a786942b2
2018-10-29vim-patch:fd35811ca528Justin M. Keyes1
Update runtime files, add Danish translations. https://github.com/vim/vim/commit/fd35811ca528de7612f9571bce20ef4c392fe5f7
2018-10-28vim-patch:f0b03c4e98f8Justin M. Keyes1
Update runtime files https://github.com/vim/vim/commit/f0b03c4e98f8a7184d8b4a5d702cbcd602426923 Note: haskell changes were included in 942f3587c38a83cf6486a0b779765b54a1648493
2018-10-07vim-patch:7f2e9d7c9cdfBruno Michel1
Update runtime files. https://github.com/vim/vim/commit/7f2e9d7c9cdfc5201a899b7b610edf64bf80c45f
2017-07-08runtime: K: prefer Vim help instead of man #3104Peter Renström1
2015-01-04vim-patch:37c2403Florian Walch1
Update runtime files. https://code.google.com/p/vim/source/detail?r=37c24033b2601a4a0953970a0ec85d5537101915
2014-07-29re-integrate runtime/ vim-patch:0 #938Justin M. Keyes1
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>