aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/vim.vim
Commit message (Collapse)AuthorAge
...
* vim-patch:c4aef9a97b36zeertzjq2024-03-04
| | | | | | | | | | | | | runtime(vim): Update base-syntax, improve :augroup highlighting (vim/vim#14125) - Explicitly match the bang and group name in :aug! {name}. - Allow any characters in a group name. - Match default group switch marker, END. - Match :aug without arguments (list command). https://github.com/vim/vim/commit/c4aef9a97b3673a12de7a131d239e7f49d11f630 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:b1427b46f5fe (#27652)zeertzjq2024-02-28
| | | | | | | | | | | | | runtime(vim): Update base-syntax, improve :echo highlighting (vim/vim#14103) - Normalise behaviour of :echo commands and improve expression matching. - Allow continued argument lines. - Refine string interpolation groups. - Remove duplicated :menu and :map generated commands that are handled specially later in the file. https://github.com/vim/vim/commit/b1427b46f5fe50a1daba102c4017d0ef2624b3ba Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:2c51e15b66a4 (#27637)zeertzjq2024-02-27
| | | | | | | | | | | runtime(vim): Update syntax file, improve :substitute matching (vim/vim#14093) - Differentiate between :substitute and substitute(), fixes vim/vim#13883. - Match all allowed :substitute delimiters. - Remove leading context from :substitute matches. https://github.com/vim/vim/commit/2c51e15b66a4be9b5134c495ef546479aaa89ce9 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:1624970d321c (#27582)zeertzjq2024-02-23
| | | | | | | | | runtime(vim): Update base-syntax, fix :unabbrev highlighting (vim/vim#14077) Fixes issue vim/vim#7876 https://github.com/vim/vim/commit/1624970d321cfb637ac76232df9c9b3f2fae904c Co-authored-by: dkearns <dougkearns@gmail.com>
* fix(runtime): add more Nvim-only highlight groups to Vim syntaxzeertzjq2024-02-16
|
* vim-patch:1633de8c35fdzeertzjq2024-02-16
| | | | | | | | | | | | | | | | | | runtime(vim): Update base-syntax, remove unused vimString region These were included with the initial release of the syntax file for Vim 5 and were probably intended to allow for syn-region start/skip/end patterns with a '!' or '+' delimiter. However, these cases are currently handled by the vimSynRegPat group. The removed patterns never match anywhere in the distributed runtime files and it is believed that this is generally true. closes: vim/vim#14035 https://github.com/vim/vim/commit/1633de8c35fd1941d849c7b6a4ffa34445c4234b Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* vim-patch:fe6d5b0ae47ezeertzjq2024-02-16
| | | | | | | | | | runtime(vim): Update base-syntax, fix :behave highlighting closes: vim/vim#14036 https://github.com/vim/vim/commit/fe6d5b0ae47e8a178c156be7189903c91b765584 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* vim-patch:5c3855bcab42zeertzjq2024-02-16
| | | | | | | | | | | | | | | | | runtime(vim): update Vim Syntax generator - Add missing "Last Change:" line. - The date on this line in vim.vim is updated by update_date.vim at Make time. (I made a mistake in the file path) - Remove unnecessary "b:loaded_syntax_vim_ex". - Remove "Base File Date:" line in vim.vim.base - Add Doug Kearns as Maintainer closes: vim/vim#14031 https://github.com/vim/vim/commit/5c3855bcab425be39e2934fede14d1124466c55a Co-authored-by: h-east <h.east.727@gmail.com>
* vim-patch:9b53c052d58fzeertzjq2024-02-16
| | | | | | | | | | | | | | | | | | runtime(vim): include Vim Syntax generator fixes: vim/vim#13939 closes: vim/vim#14021 related: vim-jp/syntax-vim-ex#28 https://github.com/vim/vim/commit/9b53c052d58f73f2078c61a74622687306e51c17 Omit the generator as it cannot be used for Nvim. Keep vimHLGroup and vimOnlyHLGroup separate. N/A patch: vim-patch:b418a51933bb Co-authored-by: h-east <h.east.727@gmail.com>
* vim-patch:ceed36873e92zeertzjq2024-02-16
| | | | | | | | | | | | | | | | | runtime(vim): accept dot in completionList for Vim9 syntax (vim/vim#13832) if you have autoloaded command complete function in vim9script, it shouldn't be highlighted as Error: ``` import autoload "share.vim" command! -range=% -nargs=? -complete=custom,share.Complete Share share.Paste(<q-args>, <line1>, <line2>) ``` `share.Complete` is a valid complete function. https://github.com/vim/vim/commit/ceed36873e922df9acfeabf65184fcf2b5ab1cb3 Co-authored-by: Maxim Kim <habamax@gmail.com>
* vim-patch:b614b284ee06 (#27433)zeertzjq2024-02-12
| | | | | | | | | | | | runtime(vim): Update syntax file (vim/vim#14009) - allow comments after :highight commands - match the bang in a :highlight[!] command - highlight the bang in :map[!], :menu[!] and :unlet[!] with vimOper like all other commands https://github.com/vim/vim/commit/b614b284ee06523511308f8381b47db34d921d39 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:7c5aeaffa2be (#27327)zeertzjq2024-02-04
| | | | | | | | | | | | | | runtime(vim): Update syntax file (vim/vim#13969) Improve string interpolation highlighting. Use the vimSep group to highlight interpolation braces as vimOperParen has no highlighting of its own and employs vimSep via matchgroup. Add vimNumber to the interpolation group's contained list. https://github.com/vim/vim/commit/7c5aeaffa2bec8f16f36bd33a749a6e965d8ab30 Co-authored-by: dkearns <dougkearns@gmail.com>
* refactor(runtime): remove nvimMap and nvimUnmap syntax groups (#27298)zeertzjq2024-02-02
| | | | They are no longer needed as they are covered by vimMap and vimUnmap. Also fix some other mistakes and missing changes.
* vim-patch:e3e3934bb182zeertzjq2024-02-02
| | | | | | | | | | runtime(vim): Update syntax file (vim/vim#13948) Improve string escape sequence and special key matching. https://github.com/vim/vim/commit/e3e3934bb18294b1a5636ed65299d3479f289a8e Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:69866449ddb2zeertzjq2024-02-02
| | | | | | | | | | | | | | | | runtime(vim): Improve keymap file highlighting (vim/vim#13550) - Match :loadkeymap to EOF as a region and contain only allowed items. - Add highlighting for <Char- notation. - add basic syntax highlighting tests https://github.com/vim/vim/commit/69866449ddb20e329f4bc5250312fbfb4a773986 N/A patches: vim-patch:35928ee8f80ea721e92bb856c8ecde2cced46bb9 vim-patch:b5352931b354eb67eb7d223cc09c98dcf1b547b6 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:cf8695d48cddzeertzjq2024-01-29
| | | | | | | | | | runtime(vim): Highlight string interpolation closes: vim/vim#13923 https://github.com/vim/vim/commit/cf8695d48cdded63043430af5a84185e9614e84c Co-authored-by: thinca <thinca@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:c79646dfb101zeertzjq2024-01-29
| | | | | | | | | | | | runtime(vim): Update syntax file (vim/vim#13671) Support multiline :syntax commands. Match :syn-cchar option in :syn-{keyword,region}. https://github.com/vim/vim/commit/c79646dfb10126f4ef22734d8713f2352197435e Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:9c5b90db035bChristian Clason2024-01-24
| | | | | | | | | | runtime(vim): Update syntax file (vim/vim#13906) Highlight :2match and :3match and add these to :help ex-cmd-index. https://github.com/vim/vim/commit/9c5b90db035b0e488f4cc686514a8d2a42265eb2 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:80beeef0c6a4Christian Clason2024-01-04
| | | | | | | | | | | | | | | | | runtime(vim): Add support for <ScriptCmd> syntax (vim/vim#10686) Adding `<ScriptCmd>` to list of angle-bracket notation syntax, just like `<Cmd>` `<Cmd>` is already highlighted. ```vim nnoremap <leader>o <Cmd>Oldfiles()<CR> ``` `<ScriptCmd>` is not. https://github.com/vim/vim/commit/80beeef0c6a4c44b190631725bce3dcc5635e3ee Co-authored-by: dezza <402927+dezza@users.noreply.github.com>
* vim-patch:d4634a26cdcdChristian Clason2024-01-04
| | | | | | | | runtime(vim): Add support for `syntax foldlevel` command (vim/vim#6182) https://github.com/vim/vim/commit/d4634a26cdcdbd0f22ec608bb4954cd7eb8db528 Co-authored-by: Brad King <brad.king@kitware.com>
* vim-patch:21064ebcd609Christian Clason2023-12-22
| | | | | | | | | | | | | runtime(vim): Update syntax file (vim/vim#13739) Match all ex commands after ":" and the "|" command separator. Exceptions are not handled yet and :insert/:change/:append are still not matched after the command separator bar. https://github.com/vim/vim/commit/21064ebcd609b1dfcf63c55dca32e6465102d461 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:1c97b5c0c0b4Christian Clason2023-12-15
| | | | | | | | | | | | | runtime(vim): Update syntax file, fix missing for highlight (vim/vim#13668) Fix highlighting of :for command. Link the vimFor syntax group to the vimCommand highlight group. Error introduced in commit f686921 https://github.com/vim/vim/commit/1c97b5c0c0b4a60d652b78da4470aeb8a7509700 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:f6869212c9e1Christian Clason2023-12-15
| | | | | | | | | | | | runtime(vim): Update syntax file (vim/vim#13653) Improve variable highlighting in :let, :unlet, :const and :for commands. Match registers and local, global and terminal option variables. https://github.com/vim/vim/commit/f6869212c9e19ec8f2a4434732dd28f84f170163 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:4e043b1fc7eeChristian Clason2023-12-06
| | | | | | | | | | runtime(vim): Update syntax file and syntax test (vim/vim#13632) Add missing assignment operators (:let*=, :let/= and :let%=). https://github.com/vim/vim/commit/4e043b1fc7eeba2f726bbca3d50a4e872c8cb658 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:9358b8d99349 (#25998)zeertzjq2023-11-12
| | | | | | | | | | runtime(vim): Improve :let-heredoc syntax highlighting (vim/vim#12923) "trim" and "eval" are allowed in any order and whitespace is not required after "=<<". https://github.com/vim/vim/commit/9358b8d99349818666718f513655c2bf53d43754 Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:71badf9547e8 (#23285)Christian Clason2023-04-23
| | | | | | | Update runtime files https://github.com/vim/vim/commit/71badf9547e8f89571b9a095183671cbb333d528 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:partial:f1dcd14fc5d4 (#21602)Christian Clason2023-01-01
| | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/f1dcd14fc5d4370476cd82895a4479ca2d252e54 missing autocmd blocks and getscriptinfo() Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:partial:6ebe4f970b8b (#20860)Christian Clason2022-10-29
| | | | | | | Update runtime files https://github.com/vim/vim/commit/6ebe4f970b8b398087076a72a7aae6e680fb92da Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:partial:f269eabc6c4f (#20470)Christian Clason2022-10-05
| | | | Update runtime files https://github.com/vim/vim/commit/f269eabc6c4f5bdcef989cd5b4b95ba8ccaa4d8a
* vim-patch:9fbdbb814f4a (#20376)Christian Clason2022-09-28
| | | | | | | Update runtime files https://github.com/vim/vim/commit/9fbdbb814f4ad67a14979aba4a6a49800c2f1a99 Skip ftplugin/vim.vim (vim9script change) Drop indent/vim.vim and autoload/dist/vimindent.vim (vim9script rewrite)
* vim-patch:partial 0daafaa7d99e (#20083)Christian Clason2022-09-06
| | | | | | | Update runtime files https://github.com/vim/vim/commit/0daafaa7d99ef500f76b1b12f5fe8153e2fcaea0 skip vim9script ftplugin create userfunc.txt from Neovim content (skip section 3, needs 9.0.0379)
* vim-patch:5ed11535e069 (#19256)Christian Clason2022-07-07
| | | | Update runtime files https://github.com/vim/vim/commit/5ed11535e0695163cec71033b98bb97356cf0113
* vim-patch:8.1.0487: no menus specifically for the terminal windowzeertzjq2022-07-01
| | | | | | | | Problem: No menus specifically for the terminal window. Solution: Add :tlmenu. (Yee Cheng Chin, closes vim/vim#3439) Add a menu test. https://github.com/vim/vim/commit/4c5d815256099b50eca2ec5bf8f9aaa67a890211 ADDR_OHTER comes from patch 8.1.1241, which has already been ported.
* refactor(highlight)!: rename attributes to match Vim (#19159)zeertzjq2022-06-30
| | | | | | | | | Ref: https://github.com/vim/vim/commit/84f546363068e4ddfe14a8a2a2322bb8d3a25417 Rename: - `underlineline` to `underdouble` - `underdot` to `underdotted` - `underdash` to `underdashed` `underdouble` also now takes higher precedence than `undercurl`.
* vim-patch:d799daa660b8 (#19031)Christian Clason2022-06-20
| | | | Update runtime files https://github.com/vim/vim/commit/d799daa660b8821943cbe1682f00da9e812dd48c
* vim-patch:d592deb33652 (#19002)Christian Clason2022-06-17
| | | | Update runtime files https://github.com/vim/vim/commit/d592deb336523a5448779ee3d4bba80334cff1f7
* vim-patch:8c1b8cb2e0b5 (#18966)Christian Clason2022-06-15
| | | | Update runtime files https://github.com/vim/vim/commit/8c1b8cb2e0b52d0853f85c2096a2f22dbc57a788
* vim-patch:6ba83ba9ee29 (#18948)Christian Clason2022-06-14
| | | | Update runtime files. https://github.com/vim/vim/commit/6ba83ba9ee292f68aa0b218b3eef42db31c0b632
* fix(runtime/genvimvim): omit s[ubstitute] from vimCommand #18480Sean Dewar2022-05-11
| | | | | | | | | | | | | | | | | | | | It's special cased by the vimSubst syntax group, and isn't present in Vim's vimCommand group. For example, this fixes `call s:Foo()` highlighting `:` as Error in Nvim, as the `s` is parsed as vimCommand rather than as vimUserFunc since `contains=vimCommand` was added to vimUserFunc (and vimFunc) in a rt update. Interestingly, `g:`, `l:`, etc. have the same issues due to :global, :list, etc. Vim also has that problem, so it should ideally be fixed upstream. We could also omit g[lobal] from vimCommand and rely on vimGlobal instead, but it doesn't work in some cases, like when there's a `:` before the command. Also, Vim matches only `g` in vimCommand for some reason, which doesn't produce any highlight for `:global/foo/bar` (with Nvim you at least get some highlights on the `global` bit despite the leading `:`). Also, remove special handling of :py3 in syntax/vim.vim, as the generator seems to have no problems finding it.
* vim-patch:ce001a337e28 (#18287)Christian Clason2022-04-27
| | | | | | Update runtime files https://github.com/vim/vim/commit/ce001a337e28fa368f40ac6422835d730fb8ebb1 also add `vimStdPlugin` keywords missing from previous updates
* vim-patch:partial:cbaff5e06ec5 (#18042)Christian Clason2022-04-08
| | | | | | Update runtime files https://github.com/vim/vim/commit/cbaff5e06ec525d31dc44093125c42029e01d508 omit doc updates here
* fix(syntax): remove trailing spaces in vim.vimKirill Chibisov2022-03-04
|
* feat(tui): add support for `CSI 4 : [2,4,5] m`Kirill Chibisov2022-03-03
| | | | | | | | This commit finishes support for colored and styled underlines adding `CSI 4 : [2,4,5] m` support providing double, dashed, and dotted underlines Fixes #17362.
* vim-patch:4700398e384f (#16538)Christian Clason2021-12-06
| | | | | | | | | Update runtime files https://github.com/vim/vim/commit/4700398e384f38f752b432e187462f404b96847d partial skip: doc/sign.txt doc/various.txt doc/motion.txt
* vim-patch:6304be625ce4 (#16450)Christian Clason2021-11-27
| | | | | | Update runtime files. https://github.com/vim/vim/commit/6304be625ce44dcfedc6735164d0b853578581c8 skip doc/sign.txt (needs 8.2.3664)
* vim-patch:519cc559b08b (#16340)Christian Clason2021-11-17
| | | | Update runtime files https://github.com/vim/vim/commit/519cc559b08b800edc429688aece7ad6a00d41eb
* vim-patch:partial 113cb513f76d (#16260)Christian Clason2021-11-08
| | | | | | | | | Update runtime files https://github.com/vim/vim/commit/113cb513f76d8866cbb6dc85fa18aded753e01da skip doc/eval.txt skip doc/insert.txt skip doc/user_06.txt (needs 8.2.3562) partial skip doc/syntax.txt (needs 8.2.3562)
* vim-patch:90df4b9d4234Christian Clason2021-09-10
| | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/90df4b9d423485f7db16e3a65cab4f14edc815ae omit .github/CODEOWNERS omit doc/vim9.txt omit po/it.po skip ftplugin/jsonc.vim skip indent/jsonc.vim skip syntax/jsonc.vim (already ported in https://github.com/neovim/neovim/commit/dce50312e1e9af81fb0e3b61d6e70bdf286fbffb) partial skip doc/eval.txt (needs 8.1.{2304,2321})
* vim-patch:4d8f476176ea (#15612)Christian Clason2021-09-10
| | | | | | | | | | * vim-patch:4d8f476176ea Update runtime files https://github.com/vim/vim/commit/4d8f476176eadfc745bcb8e143460029048f858d skip nsis/README.txt skip doc/vim9.txt skip src/nvim/po/it.po