summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/syntax/vim.vim
AgeCommit message (Collapse)AuthorFiles
2026-04-21vim-patch:1c88aee: runtime: Remove wrong syn oneline keyword from a few ↵zeertzjq1
syntax files (#39266) Also: - drop a few trailing whitespaces - mark the oneline keyword for :syn keyword as error in the Vim syntax script, add tests for it. closes: vim/vim#20018 https://github.com/vim/vim/commit/1c88aee1fa720aea07e133f32645914dcddd3435 Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2026-03-01vim-patch:b901fa9: runtime(vim): Update base syntax, improve :syntax group ↵zeertzjq1
list arg matching (#38112) Attempt to match all variations of group name and comma separator across continuation lines. Fixes issues: - vim/vim#18491 (Two ")"s are incorrectly colored 'vimOperError' in syntax/mail.vim), reported by @lkintact - vim/vim#19366 (highlight error for contains elements in a new line), reported by Maxim Kim fixes: vim/vim#18491 fixes: vim/vim#19366 https://github.com/vim/vim/commit/b901fa9a6adbc0b1404b1e6c19f83941820b1d91 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2026-02-16vim-patch:3794d9b: runtime(vim): Error codes should not be highlighed with ↵zeertzjq1
vim9CommentTitle closes: vim/vim#19390 https://github.com/vim/vim/commit/3794d9b33ce32492b84565d55a538bcfc1fcfbb6 Co-authored-by: Peter Kenny <github.com@k1w1.cyou>
2026-02-01vim-patch:2e4c98b: runtime(vim): Update base syntax, match Vim9 :unlet ↵zeertzjq1
command (#37662) closes: vim/vim#19290 https://github.com/vim/vim/commit/2e4c98b6f3db7d8e43645ccdf0b293cb07507ee1 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2026-01-12vim-patch:9.1.2078: A few more typos in various files (#37368)zeertzjq1
Problem: A few more typos in various files Solution: Fix those (zeertzjq, antonkesy) related: neovim/neovim#37348 closes: vim/vim#19153 https://github.com/vim/vim/commit/6a2b5b2246833f7922e38eabab7090e29e89c3a1 Co-authored-by: Anton Kesy <anton@kesy.de>
2026-01-12vim-patch:c4dc4d8: runtime(syntax-tests): Add :help command termination ↵zeertzjq1
tests (#37366) Problem: The :help command lacks command termination tests. Solution: Add tests for command termination at "|", "^M" and "^J". - Check special handling of "|" in arguments. - Update the Vim syntax file. closes: vim/vim#18932 https://github.com/vim/vim/commit/c4dc4d8f1eca8e3989c5f7770b062e3cf344a936 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-12-09vim-patch:927ad16: runtime(vim): Update base syntax, match full :help ↵zeertzjq1
command (#36882) closes: vim/vim#18833 https://github.com/vim/vim/commit/927ad166a4a24f11db2d065b5f4db8f24b754696 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-12-01vim-patch:a4c43a6: runtime(vim): Update base syntax, match full :language ↵zeertzjq1
command (#36766) closes: vim/vim#18808 https://github.com/vim/vim/commit/a4c43a6cf54b1916339641439b74f05499a4d9dd Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-21vim-patch:8da8862: runtime(vim): Update base syntax, match full :history ↵zeertzjq1
command (#36655) closes: vim/vim#18784 https://github.com/vim/vim/commit/8da886269a46204180102b932f528cd6dfa472be Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-21vim-patch:ea86e53: runtime(vim): Update base syntax, match :debug and ↵zeertzjq1
:break* commands Match full :debug, :breakadd, :breakdel and :breaklist commands. closes: vim/vim#18748 https://github.com/vim/vim/commit/ea86e53c2b2d4c55d1878d7226b10005cb2e0326 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-15vim-patch:f46616f: runtime(vim): Update base syntax and generator, match :cd ↵zeertzjq1
commands Match :cd commands explicitly. fixes: vim/vim#17964 closes: vim/vim#18736 Reported by Maxim Kim. https://github.com/vim/vim/commit/f46616f0c4b7254cfe2153c845f33c347ef67446 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-15vim-patch:4f19d27: runtime(vim): Update base syntax, match :prompt command argszeertzjq1
closes: vim/vim#18732 https://github.com/vim/vim/commit/4f19d2768a2251d03acd3a91f93cb3eb39595803 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-15vim-patch:fe24972: runtime(vim): Update base syntax, refine object ↵zeertzjq1
constructor matching Match "object" and "<" ... ">" separately with dedicated syntax groups to allow for highlighting distinct from that generally used for types. closes: vim/vim#18721 https://github.com/vim/vim/commit/fe249721390cae1ad26f8637bdfe4716bb5bb241 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-11vim-patch:e1e3474: runtime(vim): Update base syntax, fix :augroup error ↵zeertzjq1
matching (#36512) Only terminate the :augroup END argument at whitespace, comments and trailing bars. closes: vim/vim#18711 https://github.com/vim/vim/commit/e1e347475eea179e6b0bb9a91d82221ad29edc23 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-10vim-patch:8869800: runtime(vim): Update base syntax, match :*do command argzeertzjq1
Match the Ex command arg to all :*do commands. closes: vim/vim#18700 https://github.com/vim/vim/commit/8869800f704ea0568d4741b960fc547f6853255f Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-10vim-patch:59f0ea5: runtime(vim): Update base syntax, match Vim9 object type ↵zeertzjq1
constructor fixes: vim/vim#18677. closes: vim/vim#18691 Reported by Aliaksei Budavei. https://github.com/vim/vim/commit/59f0ea5b3eb444748c83340f1dcebb182db28b40 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-10vim-patch:433d2ab: runtime(vim): Update base syntax, match Vim9 lambda arg ↵zeertzjq1
to :defer Support added in commit 21ef3c6e5972bbe8ab61195f98ccb85048b78985. See: vim/vim#18643 closes: vim/vim#18645 https://github.com/vim/vim/commit/433d2ab2066c0590e43f8396cd830a4ff62e8769 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-11-05vim-patch:461dd9a: runtime(vim): 'iskeyword' setting not correctly restored ↵zeertzjq1
(#36453) fixes: vim/vim#18673 https://github.com/vim/vim/commit/461dd9aca68e45a437a559296e21066b6ca87be3 Co-authored-by: Christian Brabandt <cb@256bit.org>
2025-10-27vim-patch:842c778: runtime(vim): Update base syntax, improve :@ highlightingzeertzjq1
- Highlight :@ as a normal Ex command rather than something special. - Fix erroneous matching of the Ex command as a register variable. closes: vim/vim#18624 https://github.com/vim/vim/commit/842c7788a5af903df6f8c0dffefaf1607c8c8ed8 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-10-27vim-patch:7dba04f: runtime(doc,vim): Update base syntax, match full :syntime ↵zeertzjq1
command - Use the optional tail command-name spec at :help :syntime. - Match full :syntime command and highlight args. https://github.com/vim/vim/commit/7dba04f15cc43562c67c4cd0db82c2165c1cdb40 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-10-27vim-patch:da5b600: runtime(vim): Update base syntax, match :terminal commandzeertzjq1
Match the full :terminal command syntax. closes: vim/vim#18367 https://github.com/vim/vim/commit/da5b6007fb75d4a0fb20583ffd298f032acdfc0d Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-10-09vim-patch:ce5f9f4: runtime(vim): Update base syntax, allow legacy script ↵zeertzjq1
comments after :eval closes: vim/vim#18522 https://github.com/vim/vim/commit/ce5f9f45afebd9f3d06dc4bf240f8c538560709e Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-10-09vim-patch:9.1.1834: MS-Windows: not possible to highlight the title barzeertzjq1
Problem: MS-Windows: not possible to highlight the title bar Solution: Make the title/caption bar configurable by introducing the 'go-C' option value which allows to highlight it using the TitleBar and TitleBarNC highlighting groups (Mao-Yining). Introduce titlebar color customization for Windows 11 GUI through highlight groups and new 'guioptions' flag: - Add 'C' flag to enable titlebar color customization (opt-in) - New highlight groups: TitleBar (active) and TitleBarNC (inactive) - Uses DWMWA_CAPTION_COLOR and DWMWA_TEXT_COLOR DWM attributes - Dynamically loads dwmapi.dll for Windows 11 compatibility - Defaults to system colors when set to NONE or feature disabled closes: vim/vim#18449 https://github.com/vim/vim/commit/2c093682738cb2e01864aa2934b7bafdb277c011 Co-authored-by: Mao-Yining <mao.yining@outlook.com>
2025-10-02vim-patch:0977c8b: runtime(vim): Update base syntax, contain user command ↵zeertzjq1
replacement text (#35979) Ensure that :command replacement text terminates at the end of the logical line. Add :command to the generator exclusion list. fixes: vim/vim#18414 (@Dougaak) fixes: vim/vim#18448 (Maxim Kim) closes: vim/vim#18415 https://github.com/vim/vim/commit/0977c8b03e7eca56bb640acd2fd1c6f5fc825899 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-09-29vim-patch:ae20d73: runtime(vim): Update base syntax, improve ↵zeertzjq1
line-continuation skip patterns Factor out the common prefix in line-continuation :syn-skip patterns. closes: vim/vim#18416 https://github.com/vim/vim/commit/ae20d732ae691793297139f688936c602c674999 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-09-29vim-patch:f4a6acd: runtime(vim): Update base syntax, allow Vim9 :echo tail ↵zeertzjq1
comments - Match comments after Vim9 :echo and :execute. - Match comments after Vim9 and legacy :eval. closes: vim/vim#18420 https://github.com/vim/vim/commit/f4a6acd86edfdaf0f2c1fc4fb0c6533069d0469e Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-09-29vim-patch:7bb733f: runtime(vim): Update base syntax, match null_tuple literalzeertzjq1
closes: vim/vim#18404 https://github.com/vim/vim/commit/7bb733f6bf727efe3455c3355a38430ee9cd9cc7 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-09-29vim-patch:57d243e: runtime(vim): Update base syntax, fix indented Vim9 ↵zeertzjq1
:redir highlighting Include post operator whitespace in the Vim9 variable assignment lookahead so that "redir =>" doesn't match as an assignment. fixes: vim/vim#18319 closes: vim/vim#18323 https://github.com/vim/vim/commit/57d243e27da804489e256add0398efb9310a4353 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-09-29vim-patch:6f97624: runtime(vim): Update base syntax, fix Vim9 :for loop ↵zeertzjq1
variable highlighting Highlight the iteration variable's type in Vim9 :for {var} loops. Reported by Aliaksei Budavei. fixes: vim/vim#17961 closes: vim/vim#18163 https://github.com/vim/vim/commit/6f97624e115eb793e5b486244683ecb86959d859 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-09-29vim-patch:4de931d: runtime(vim): Update base syntax, match enum constructor ↵zeertzjq1
type args closes: vim/vim#17840 https://github.com/vim/vim/commit/4de931daae88784aacd1dc4ecd92ca6fb4a45977 Co-authored-by: Doug Kearns <dougkearns@gmail.com> Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
2025-09-29vim-patch:72473ce: runtime(vim): Update base syntax, match generic functionszeertzjq1
Match Vim9 generic functions, added in vim/vim#17313. closes: vim/vim#17722 https://github.com/vim/vim/commit/72473ce9f8e111072360a7589e2c5bee079305da Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-09-24vim-patch:b1446df: runtime(vim): Update base syntax, match :wincmd (#35898)zeertzjq1
Match the full :wincmd command syntax. Allow for oneline assignment to Vim9 variables named winc[md]. Fixes vim/vim#18368. https://github.com/vim/vim/commit/b1446dfd23eb95743cda8cec8a6aac6e697c5fbe Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-09-09vim-patch:9.1.1742: complete: preinsert does not work well with ↵zeertzjq1
'autocomplete' (#35692) Problem: complete: preinsert does not work well with preinsert Solution: Make "preinsert" completeopt value work with autocompletion (Girish Palya) This change extends Insert mode autocompletion so that 'preinsert' also works when 'autocomplete' is enabled. Try: `:set ac cot=preinsert` See `:help 'cot'` for more details. closes: vim/vim#18213 https://github.com/vim/vim/commit/fa6fd41a943e6442c1a2ce6b0a237298b00ecca0 Co-authored-by: Girish Palya <girishji@gmail.com>
2025-08-30vim-patch:7239d95: runtime(vim): Update base syntax, match :defer command ↵zeertzjq1
argument (#35547) closes: vim/vim#18159 https://github.com/vim/vim/commit/7239d95bf2e35acd2746c933c66677137ac93cfa Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-08-02vim-patch:b88f9e4: runtime(vim): Update base syntax, fix :map termination in ↵zeertzjq1
:command RHS (#35131) Ensure :map (and :abbreviate) terminate at | when included in :command replacement strings containing commands separated by line continuations. https://github.com/vim/vim/commit/b88f9e4a04ce9fb70abb7cdae17688aa4f49c8c9 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-23vim-patch:9.1.1576: cannot easily trigger wildcard expansion (#35022)zeertzjq1
Problem: cannot easily trigger wildcard expansion Solution: Introduce wildtrigger() function (Girish Palya) This PR introduces a new `wildtrigger()` function. See `:h wildtrigger()` `wildtrigger()` behaves like pressing the `wildchar,` but provides a more refined and controlled completion experience: - Suppresses beeps when no matches are found. - Avoids displaying irrelevant completions (like full command lists) when the prefix is insufficient or doesn't match. - Skips completion if the typeahead buffer has pending input or if a wildmenu is already active. - Does not print "..." before completion. This is an improvement on the `feedkeys()` based autocompletion script given in vim/vim#16759. closes: vim/vim#17806 https://github.com/vim/vim/commit/b486ed8266d3b8cd1ffab7d7f302fbd6d5a55c70 While at it, also make Ctrl-Z trigger search completion. Co-authored-by: Girish Palya <girishji@gmail.com>
2025-07-19vim-patch:2f7c957: runtime(vim): Update base syntax and generator, improve ↵zeertzjq1
command/function distinction - Match Ex command modifiers and functions with the same name correctly. E.g., :browse and browse(). - Match full :eval command. closes: vim/vim#17789 https://github.com/vim/vim/commit/2f7c957c8d89b0fe06896ee0e2eaa1c3c0b2b485 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-19vim-patch:97501af: runtime(vim): Update base syntax, match "any" type distinctlyzeertzjq1
Allow for special highlighting of the "any" Vim9 type. Addresses comment https://github.com/vim/vim/pull/17722#issuecomment-3075531052 closes: vim/vim#17769 https://github.com/vim/vim/commit/97501afda34c77b07782a365fcc2299165e66f69 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-18vim-patch:9.1.1544: :retab cannot be limited to indentation only (#34939)zeertzjq1
Problem: :retab cannot be limited to indentation only Solution: add the optional -indentonly parameter (Hirohito Higashi) closes: vim/vim#17730 https://github.com/vim/vim/commit/836e54f5de8479a39f6d1dd4a13202af0e447311 Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
2025-07-17vim-patch:175662f: runtime(vim): Update base syntax, fix incorrect function ↵zeertzjq1
error (#34975) Don't match lower-case function names as errors when the qualifier includes a dict/list accessor. This is a less than perfect fix until qualified function call matching is reworked. fixes: vim/vim#17766 closes: vim/vim#17780 https://github.com/vim/vim/commit/175662f4f2a046a5ca33338cd3c1ca017e135ee8 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-13vim-patch:ce1d196: runtime(vim): Update base syntax, improve :match ↵zeertzjq1
highlighting (#34912) - Match the range prefix separately as a count. - Match an explicit count of 1, rarely used but seen in the wild. - Allow whitespace between the count and command. closes: vim/vim#17717 https://github.com/vim/vim/commit/ce1d1969f304af122eaf10b405dad013ac0246f7 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-11vim-patch:6ac2e4a: runtime(vim): Update base syntax, improve function call ↵zeertzjq1
highlighting (#34874) - Match more function calls. - Contain function call syntax groups. - Improve differentiation between Ex commands and builtin functions with the same name. Remove special cases. Command modifiers are not currently well differentiated from functions. closes: vim/vim#17712 https://github.com/vim/vim/commit/6ac2e4aa0a565dc8cac73b33c9c099cea77212a8 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-06vim-patch:5911ac5: runtime(vim): Update base-syntax, match :filetype in ↵zeertzjq1
functions closes: vim/vim#17671 https://github.com/vim/vim/commit/5911ac5023594a55a3654c9050d4924ca3218d22 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-06vim-patch:a8b8660: runtime(vim): Update base-syntax, match escape sequences ↵zeertzjq1
in :command blocks - Match escape sequences in :command replacement blocks. - Match :substitute after escape sequences (a temporary fix until Ex commands are contained). fixes: vim/vim#17326 closes: vim/vim#17663 https://github.com/vim/vim/commit/a8b86605f39f168178dfbdc1971df4e19c636310 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-06vim-patch:c233c2e: runtime(vim): Update base-syntax and generator, match all ↵zeertzjq1
default highlight groups - Match Conceal, ComplMatchIns, MsgArea, Terminal, and User[1-9] highlight groups. - Generate the vimGroup syntax group from runtime/syncolor.vim. - Match :SynColor and :SynLink as special user commands. fixes vim/vim#17467 closes: vim/vim#17556 https://github.com/vim/vim/commit/c233c2e6a54778e034d62473e48421f25b2f5069 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-06vim-patch:a9b5e4a: runtime(vim): Update base-syntax and generator, generate ↵zeertzjq1
command modifiers Generate Ex command modifiers from the modifier table in src/ex_docmd.c closes: vim/vim#17564 https://github.com/vim/vim/commit/a9b5e4af43ef1f03f20ebcf980f4dd555a12694d Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-07-05vim-patch:ca793e6: runtime(vim): Update base-syntax, match :uniq commandzeertzjq1
closes: vim/vim#17601 https://github.com/vim/vim/commit/ca793e60dbcf00a8d5658b0120965edb4b0f3fab Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-06-30vim-patch:a5b744e: runtime(vim): Update base-syntax, improve :syn-sync line ↵zeertzjq1
defaults (#34719) Set minlines and maxlines to 100 and 200 respectively. Set these after the script interface syntax files have been loaded to ensure the values set in those are overridden. fixes vim/vim#17580 closes: vim/vim#17614 https://github.com/vim/vim/commit/a5b744ef9366a4b694ce7f31783f3be266f5e3cf Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-06-26vim-patch:037c32e: runtime(vim): Update base-syntax, match unamed register ↵zeertzjq1
alias (#34648) The unamed register may be referenced as both @" and @@. Remove the unused vimPlainRegister syntax group. fixes: vim/vim#17603. closes: vim/vim#17605 https://github.com/vim/vim/commit/037c32e4288fd37a8d87e73bb586de6280aa5e67 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
2025-06-23vim-patch:a931371: runtime(vim): Update base-syntax, match OR operator in ↵zeertzjq1
:echo and :execute (#34623) Don't match the OR operator in expressions as a trailing bar. closes: vim/vim#17533 https://github.com/vim/vim/commit/a9313716942dca456943f2df1bd4e8ecd32f85e5 Co-authored-by: Doug Kearns <dougkearns@gmail.com>