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