aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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>
* vim-patch:309ded19543cChristian Clason2023-08-21
| | | | | | | | runtime(css): Update pseudo-classes in syntax script (vim/vim#11595) https://github.com/vim/vim/commit/309ded19543c140375b28ef562257e9f22c918c6 Co-authored-by: Adrian Heine né Lang <mail@adrianheine.de>
* vim-patch:9fa35b1c38b8Christian Clason2023-08-21
| | | | | | | | runtime(lua): fix lua indentation of non-lowercase "keywords" (vim/vim#11759) https://github.com/vim/vim/commit/9fa35b1c38b84d95b5c8e083aa742e0e0490fa1f Co-authored-by: beardedsakimonkey <54521218+beardedsakimonkey@users.noreply.github.com>
* vim-patch:e71e9d9ad368Christian Clason2023-08-21
| | | | | | | | | | runtime(javascript): fix default link of javaScriptNumber in syntax file (vim/vim#11788) cool unused matching https://github.com/vim/vim/commit/e71e9d9ad368f83162a9c08217a9faf9bda909a7 Co-authored-by: Meqa <106783764+Meqativ@users.noreply.github.com>
* vim-patch:6633611f4280Christian Clason2023-08-21
| | | | | | | | | | runtime(lua): indent curly bracket followed by line comment (vim/vim#12306) fixes vim/vim#12305 https://github.com/vim/vim/commit/6633611f4280f33934c2ab9b6a3e84c04f054ad3 Co-authored-by: champignoom <66909116+champignoom@users.noreply.github.com>
* vim-patch:478668013f06Christian Clason2023-08-21
| | | | | | | | runtime(rust): fix rust indent (vim/vim#12542) https://github.com/vim/vim/commit/478668013f060a75b8cd8cc6ca2cf2abb3bcc4a5 Co-authored-by: Raphael <glephunter@gmail.com>
* vim-patch:72904d5fda0aChristian Clason2023-08-21
| | | | | | | | | | | | | | | | Runtime: Add nixInherit matcher in nix.vim syntax Perform the lookahead in `nixInheritAttributeScope`, then hand over to a new region called `nixInheritAttributeSubExpr`, which sets the match start to one char after the opening bracket to avoid a double-match. Finally, only do a lookahead to `)` in `nixInheritAttributeSubExpr` (and thus make sure the region is closed to not get a match of `nixParen` here) and let `nixInheritAttributeScope` close the bracket. https://github.com/vim/vim/commit/72904d5fda0a1bc78f4bc9080c158226e6e90d5c Co-authored-by: James Fleming <james@electronic-quill.net>
* Merge pull request #24820 from zeertzjq/vim-589edb340454zeertzjq2023-08-21
|\ | | | | vim-patch:589edb340454,e46a44050562
| * vim-patch:e46a44050562zeertzjq2023-08-21
| | | | | | | | | | | | | | | | Runtime file updates https://github.com/vim/vim/commit/e46a4405056276b4cbdacee76b11f85c8ea1830b Co-authored-by: Bram Moolenaar <Bram@vim.org>
| * vim-patch:589edb340454zeertzjq2023-08-21
|/ | | | | | | | Updte runtime files https://github.com/vim/vim/commit/589edb340454e7f1b19358f129287a636d53d0e1 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* Merge pull request #24819 from zeertzjq/vim-8.2.4208zeertzjq2023-08-21
|\ | | | | vim-patch:8.2.{4208,4210,4211,4212},9.0.{0077,0313}
| * vim-patch:9.0.0313: using common name in tests leads to flaky testszeertzjq2023-08-21
| | | | | | | | | | | | | | | | | | Problem: Using common name in tests leads to flaky tests. Solution: Rename files and directories to be more specific. https://github.com/vim/vim/commit/e7cda97b6b578b33a42de0d27ac2876337c641ca Co-authored-by: Bram Moolenaar <Bram@vim.org>