aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | vim-patch:2f25e40b1f54Christian Clason2023-08-24
| | | | | | | | | | | | | | | | runtime: configure keywordpg for some file types (vim/vim#5566) https://github.com/vim/vim/commit/2f25e40b1f545f4aa38377f0c25effb112b5d1ef Co-authored-by: Enno <Konfekt@users.noreply.github.com>
* | vim-patch:3fc7a7e44abdChristian Clason2023-08-24
| | | | | | | | | | | | | | | | | | | | runtime: Fix typos in various files closes: vim/vim#12836 https://github.com/vim/vim/commit/3fc7a7e44abda6505ccd39a6d067db6e5173cbf6 Co-authored-by: Viktor Szépe <viktor@szepe.net>
* | vim-patch:e059fae10044Christian Clason2023-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(menu): define shortcut for File->Open Tab (vim/vim#12895) Seems missing as noted by Antonio Giovanni Colombo. So add it and use the 'T' as shortcut, which does not seem to be used in the File dialog. Verified on Windows. https://github.com/vim/vim/commit/e059fae100448fee4b581dd5d90ee853ea18de7e Co-authored-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Antonio Giovanni Colombo <azc100@gmail.com>
* | vim-patch:6e93689bde73Christian Clason2023-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(bindzone): updated syntax file - Add support for APL type in runtime/syntax/bindzone.vim - all values between 0- 4294967295 are valid serials closes: vim/vim#9743 closes: vim/vim#8382 https://github.com/vim/vim/commit/6e93689bde7321ce974ae99ec6c74efb08d78842 vim-patch:544b209a2d4b runtime(scala): Link Scala highlighting groups using 'hi def link' in syntax script (vim/vim#9594) They were linked using 'hi link' which made it impossible for color schemes to override highlight groups. https://github.com/vim/vim/commit/544b209a2d4b10e0a4874c925036def30d33d708 Co-authored-by: Oskar Stenman <oskar@cetex.se> Co-authored-by: Job Noorman <job@noorman.info>
* | vim-patch:118f8e9da39eChristian Clason2023-08-24
| | | | | | | | | | | | | | | | runtime(cmake) Recognize add_compile_definitions in syntax script (vim/vim#10416) https://github.com/vim/vim/commit/118f8e9da39e6cec5ffe644d5b87a7772418ed0c Co-authored-by: MichaWiedenmann <mw-r1@gmx.de>
* | vim-patch:cdd934439d08Christian Clason2023-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | runtime(crontab): add support for BSD specifics in syntax script (vim/vim#11196) * OpenBSD supports the use of `~` as alias for "random valid value" * FreeBSD supports `@every_{minute,second}` See: * https://man.openbsd.org/crontab.5 * https://www.freebsd.org/cgi/man.cgi?query=crontab&sektion=5 https://github.com/vim/vim/commit/cdd934439d08768235be04817ee214f067e8cf56 Co-authored-by: Moviuro <moviuro@users.noreply.github.com>
* | vim-patch:b0d584d97ab6Christian Clason2023-08-24
| | | | | | | | | | | | | | | | | | | | runtime(go): Update Go syntax file with 1.21 builtins (vim/vim#12876) * Update Go syntax file with 1.21 builtins https://github.com/vim/vim/commit/b0d584d97ab6f5cb070caba3882ba387b81448c1 Co-authored-by: José-Paul D <fixed.combinator@gmail.com>
* | vim-patch:e34b51e95fd0Christian Clason2023-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | runtime(solidity): add new ftplugin (vim/vim#12877) Set undo_{ftplugin,indent} closes vim/vim#11240 https://github.com/vim/vim/commit/e34b51e95fd0ea7b0e34a625db0f9ed7e051e0dd Co-authored-by: dkearns <dougkearns@gmail.com> Co-authored-by: cothi <jiungdev@gmail.com>
* | vim-patch:c6d533b0ad56Christian Clason2023-08-24
| | | | | | | | | | | | | | | | | | | | | | | | | | runtime(gp): update gp.vim syntax file for the GP language (version 2.15) (vim/vim#12884) - add missing defaults - add missing control structures (incl. parallelism) - add missing scope declarations - whitespace edits (remove extra tabs) https://github.com/vim/vim/commit/c6d533b0ad565a610a48386b0ad72cc591010fcb Co-authored-by: Karim Belabas <Karim.belabas@math.u-bordeaux.fr>
* | feat(treesitter): add 'injection.self' and 'injection.parent'Amaan Qureshi2023-08-24
| | | | | | | | Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
* | vim-patch:9.0.1785: wrong cursor position with 'showbreak' and lcs-eol (#24852)zeertzjq2023-08-24
|/ | | | | | | | | | Problem: wrong cursor position with 'showbreak' and lcs-eol Solution: Add size of 'showbreak' before when 'listchars' "eol" is used. Also fix wrong cursor position with wrapping virtual text on empty line and 'showbreak'. closes: vim/vim#12891 https://github.com/vim/vim/commit/1193951bebcff50d88403ce17dec5d3be14f131d
* fix(editorconfig): only warn once on errorsLewis Russell2023-08-23
|
* fix(luarc.json): ignore test directory to save memoryLewis Russell2023-08-23
| | | | Cuts memory usage on startup from 600mb -> 200mb
* vim-patch:9.0.1773: cannot distinguish Forth and Fortran *.f files (#24841)zeertzjq2023-08-23
| | | | | | | | | | | | | | | | Problem: cannot distinguish Forth and Fortran *.f files Solution: Add Filetype detection Code Also add *.4th as a Forth filetype closes: vim/vim#12251 https://github.com/vim/vim/commit/19a3bc3addf9b4aa8150a01b11b4249c67d15d3b Don't remove filetype files from Vim patches: - filetype.vim, script.vim, ft.vim usually contain useful changes - script.vim and ft.vim don't even have their paths spelled correctly Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* docs(generators): bake into cmakeLewis Russell2023-08-23
|
* fix(types): add more annotations to eval.luaLewis Russell2023-08-23
|
* Merge pull request #24847 from zeertzjq/vim-9.0.1710zeertzjq2023-08-23
|\ | | | | vim-patch:9.0.{1710,1781}
| * refactor(option.c): move paste_option_changed() into did_set_paste()zeertzjq2023-08-23
| |
| * vim-patch:9.0.1781: Problems when setting bin/paste optionzeertzjq2023-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Problems when setting bin/paste option Solution: When setting binary/paste, remember that this also affects depending options, so that :verbose set returns the right location. Mention if depending options for 'binary' or 'paste' have been reset indirectly. Add a test to verify it works. Also noticed as small bug, that the global option value for expandtab was not reset when paste option is set, so fix that while at it. closes: vim/vim#12837 closes: vim/vim#12879 https://github.com/vim/vim/commit/757593c07a4f4ac43eb6c6e52fc299abc9bc08bc Co-authored-by: Christian Brabandt <cb@256bit.org>
| * vim-patch:9.0.1710: scrolloff options work slightly differentzeertzjq2023-08-23
|/ | | | | | | | | | | | | | | | | | | | | | | Problem: sidescrolloff and scrolloff options work slightly different than other global-local options Solution: Make it behave consistent for all global-local options It was noticed, that sidescrolloff and scrolloff options behave differently in comparison to other global-local window options like 'listchars' So make those two behave like other global-local options. Also add some extra documentation for a few special local-window options. Add a few tests to make sure all global-local window options behave similar closes: vim/vim#12956 closes: vim/vim#12643 https://github.com/vim/vim/commit/4a8eb6e7a9df10f79bf95301ced012f0d6a13088 Co-authored-by: Christian Brabandt <cb@256bit.org>
* Merge pull request #24844 from zeertzjq/vim-9.0.1783zeertzjq2023-08-23
|\ | | | | vim-patch:9.0.1783: Display issues with virt text smoothscroll and showbreak
| * fix(plines): count 'showbreak' for virtual text at eolzeertzjq2023-08-23
| |
| * vim-patch:9.0.1783: Display issues with virt text smoothscroll and showbreakzeertzjq2023-08-23
|/ | | | | | | | | | | Problem: Wrong display with wrapping virtual text or unprintable chars, 'showbreak' and 'smoothscroll'. Solution: Don't skip cells taken by 'showbreak' in screen lines before "w_skipcol". Combined "n_skip" and "skip_cells". closes: vim/vim#12597 https://github.com/vim/vim/commit/b557f4898208105b674df605403cac1b1292707b
* build(deps): bump luajit to HEAD - 03c31124cChristian Clason2023-08-23
| | | | | | Switch to a rolling release, so the `0-beta3` suffix is dropped in favor of the date. Remove the custom UNIX command as the symlink is now created by the LuaJIT Makefile.
* vim-patch:9.0.1779: Need more state() tests (#24840)zeertzjq2023-08-23
| | | | | | | | | Problem: Need more state() tests Solution: Add a few more tests for operater pending mode and register yank command closes: vim/vim#12883 https://github.com/vim/vim/commit/8dabccd295271104ad5af0abc48e283d644cff59
* test: fix state() test flakiness (#24839)zeertzjq2023-08-23
|
* vim-patch:9.0.0579: using freed memory when 'tagfunc' wipes out buffer (#24838)zeertzjq2023-08-22
| | | | | | | | | | | Problem: Using freed memory when 'tagfunc' wipes out buffer that holds 'complete'. Solution: Make a copy of the option. Make sure cursor position is valid. https://github.com/vim/vim/commit/0ff01835a40f549c5c4a550502f62a2ac9ac447c Cherry-pick a cmdwin change from patch 9.0.0500. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* test(old): reorder test_edit.vim to match upstream (#24837)zeertzjq2023-08-22
|
* vim-patch:8.0.0571: negative line number when using :z^ in an empty buffer ↵zeertzjq2023-08-22
| | | | | | | | | | | (#24836) Problem: The cursor line number becomes negative when using :z^ in an empty buffer. (neovim vim/vim#6557) Solution: Correct the line number. Also reset the column. https://github.com/vim/vim/commit/a364cdb648ae009fa7aa05382f5659335683d349 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* test(old): remove workaround for TSAN CI (#24834)zeertzjq2023-08-22
| | | Now that TSAN CI no longer runs oldtests, match upstream better.
* vim-patch:8.2.4611: typos in tests; one lua line not covered by test (#24835)zeertzjq2023-08-22
| | | | | | | | | | | | | Problem: Typos in tests; one lua line not covered by test. Solution: Fix typos. Add test case. (Dominique Pellé, closes vim/vim#9994) https://github.com/vim/vim/commit/81b573d7e55bd48988f298ce8e652d902e9bdeba Cherry-pick test_menu.vim change from patch 9.0.1453. N/A patch: vim-patch:8.2.3045: minor typos Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
* Merge pull request #24833 from zeertzjq/vim-9.0.0391zeertzjq2023-08-22
|\ | | | | vim-patch:9.0.{0380,0391,0415,0425,0428,0837}
| * vim-patch:9.0.0837: append() reports failure when not appending anythingzeertzjq2023-08-22
| | | | | | | | | | | | | | | | | | Problem: append() reports failure when not appending anything. Solution: Only report failure when appending something. (closes vim/vim#11498) https://github.com/vim/vim/commit/cd9c8d400c1eb9cbb4ff6a33be02f91a30ab13b2 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0428: autocmd test uses common file namezeertzjq2023-08-22
| | | | | | | | | | | | | | | | | | Problem: Autocmd test uses common file name. Solution: Use unique name to reduce flakiness. https://github.com/vim/vim/commit/be9fc5b60cbdf697c4f6d12345dd7fcdb5d6ca01 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0425: autocmd test is a bit flaky on MS-Windowszeertzjq2023-08-22
| | | | | | | | | | | | | | | | | | Problem: Autocmd test is a bit flaky on MS-Windows. Solution: Add a bit more sleeping. (Ken Takata, closes vim/vim#11095) https://github.com/vim/vim/commit/ae04a6049b3f0e30a671966ed2dda1979e0b5f20 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0415: on MS-Windows some tests are flakyzeertzjq2023-08-22
| | | | | | | | | | | | | | | | | | | | Problem: On MS-Windows some tests are flaky. Solution: Add sleeps, disable swapfile, mark test as flaky. (Ken Takata, closes vim/vim#11082) https://github.com/vim/vim/commit/0500e87eba7b2a82392dbb5d573de19f8ff138e7 Co-authored-by: K.Takata <kentkt@csc.jp>
| * vim-patch:9.0.0391: using separate delete() call instead of writefile() 'D' flagzeertzjq2023-08-22
| | | | | | | | | | | | | | | | | | Problem: Using separate delete() call instead of writefile() 'D' flag. Solution: Use the writefile 'D' flag. https://github.com/vim/vim/commit/3411265a3698c3d5ef56d9b0c3bb237a9f5fdba1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:9.0.0380: deleting files in tests is a hasslezeertzjq2023-08-22
|/ | | | | | | | | | | Problem: Deleting files in tests is a hassle. Solution: Use the new 'D' flag of writefile(). https://github.com/vim/vim/commit/e1f3ab73bc7c4b3eee03b673c2983ed7eca6ea80 vim-patch:e1f3ab73bc7c Co-authored-by: Bram Moolenaar <Bram@vim.org>
* version.c: update [skip ci] (#24830)github-actions[bot]2023-08-22
| | | Co-authored-by: marvim <marvim@users.noreply.github.com>
* fix(terminal): set $COLORTERM unconditionally in :terminal (#24763)Gregory Anders2023-08-21
| | | | | | | | | | | | | | | | | | | | | | | | $COLORTERM is set in the terminal emulator based on the value of 'termguicolors' ("truecolor" if &tgc is set, 256 otherwise), but ONLY if $COLORTERM is also set in the parent terminal emulator. This is an unnecessary restriction that can cause issues in some cases. For instance, $COLORTERM is stripped by default by OpenSSH, so is not present in an SSH session. The terminal emulator still supports 24 bit color, so the lack of $COLORTERM is not a reliable indicator. When an application runs in Nvim's :terminal it thus has no way to know whether or not true color is supported. Instead, setting it unconditionally based on 'termguicolors' uses the user's own preferences to infer if 24-bit color is supported, rather than depending on the (unreliable) presence of $COLORTERM. If 'termguicolors' is set in a terminal that does not support true color then the colors in Nvim will already look bad. Enabling them for applications in the terminal emulator will not make it any worse. If 'termguicolors' is not set then the value of $COLORTERM from the parent terminal (if any) is forwarded to Nvim's :terminal. Fixes: https://github.com/neovim/neovim/issues/24717
* fix(terminal): handle horizontal scrolling in another window (#24828)zeertzjq2023-08-21
|
* vim-patch:9.0.0423: "for" and "while" not recognized after :vim9cmd and ↵Gregory Anders2023-08-21
| | | | | | | | | | | | :legacy (#24825) Problem: "for" and "while" not recognized after :vim9cmd and :legacy. (Emanuele Torre) Solution: Recognize all the command modifiers. (closes vim/vim#11087) Add a test to check the list of modifiers. https://github.com/vim/vim/commit/9132426334a8c7e159db93ec1b08ed61ac600aae Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #24826 from zeertzjq/vim-9.0.0886zeertzjq2023-08-21
|\ | | | | vim-patch:9.0.{0886,0902,.0906}: mouse scrolling refactors
| * vim-patch:9.0.0906: mouse scroll code is not optimalzeertzjq2023-08-21
| | | | | | | | | | | | | | | | | | | | Problem: Mouse scroll code is not optimal. Solution: Properly organise Normal mode, Insert mode and common code. (Christopher Plewright, closes vim/vim#11572) https://github.com/vim/vim/commit/ff95ce0930e6db0037fe8d1fc875a6522b054582 Co-authored-by: Christopher Plewright <chris@createng.com>
| * vim-patch:9.0.0902: some mouse scroll code is not in a good placezeertzjq2023-08-21
| | | | | | | | | | | | | | | | | | Problem: Some mouse scroll code is not in a good place. Solution: Refactor the code. (Christopher Plewright, closes vim/vim#11561) https://github.com/vim/vim/commit/696d0a86250636602d42e29e57d8923f538e0549 Co-authored-by: Christopher Plewright <chris@createng.com>
| * vim-patch:9.0.0886: horizontal mouse scroll only works in the GUIzeertzjq2023-08-21
|/ | | | | | | | | | Problem: Horizontal mouse scroll only works in the GUI. Solution: Make horizontal mouse scroll also work in a terminal. (Christopher Plewright, closes vim/vim#11448) https://github.com/vim/vim/commit/44c2209352d56d70b1fc0215e81f1822d55aa563 Co-authored-by: Christopher Plewright <chris@createng.com>
* vim-patch:690963924956Christian Clason2023-08-21
| | | | | | | | | | | | | | | runtime(dosini): save and restore cpo value in syntax script Commit dd0ad2598898c2b4641c4acd5b70b6184fa698ed introduced line-continuation. However, to make sure this does not cause an error when Vim is run in compatible mode, we need to set compatibility mode temporarily and reset it back when finished reading the file. This fixes: https://groups.google.com/g/vim_use/c/9zccgo_RIqM/m/xlUmhBktBgAJ https://github.com/vim/vim/commit/690963924956d800b94bb86076aa9d25f04565ac Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:6d626c41842eChristian Clason2023-08-21
| | | | | | | | runtime(sdc): Add underscore to sdc flags in syntax file (vim/vim#6201) https://github.com/vim/vim/commit/6d626c41842e2c3ab698338bbe5fcfcf0557ecd8 Co-authored-by: Jordi Altayó <jordialtayo@gmail.com>
* vim-patch:a0fddaa2f4b7Christian Clason2023-08-21
| | | | | | | | | | Runtime(javascript): add new document properties to completion file closes: vim/vim#6536 https://github.com/vim/vim/commit/a0fddaa2f4b7358484eb54ccdd1b7433d18a9039 Co-authored-by: Jay Sitter <jay@diameterstudios.com>
* vim-patch:5e6e4042b1c9Christian Clason2023-08-21
| | | | | | | | | | runtime(haskell): Add single quote to `iskeyword` in ftplugin (vim/vim#8191) The single quote `'` is a valid character in variable names, so it should be included in `iskeyword`; this, for instance, makes the <kbd>*</kbd> command behave predictably https://github.com/vim/vim/commit/5e6e4042b1c9685bce86493e3ee6fe916a7f221c Co-authored-by: Enrico Maria De Angelis <enricomaria.dean6elis@gmail.com>