| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Cuts memory usage on startup from 600mb -> 200mb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|\
| |
| | |
vim-patch:9.0.{1710,1781}
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
vim-patch:9.0.1783: Display issues with virt text smoothscroll and showbreak
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
| |
Now that TSAN CI no longer runs oldtests, match upstream better.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
vim-patch:9.0.{0380,0391,0415,0425,0428,0837}
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
| |
Co-authored-by: marvim <marvim@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
$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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
: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>
|
|\
| |
| | |
vim-patch:9.0.{0886,0902,.0906}: mouse scrolling refactors
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
runtime(rust): fix rust indent (vim/vim#12542)
https://github.com/vim/vim/commit/478668013f060a75b8cd8cc6ca2cf2abb3bcc4a5
Co-authored-by: Raphael <glephunter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
vim-patch:589edb340454,e46a44050562
|
| |
| |
| |
| |
| |
| |
| |
| | |
Runtime file updates
https://github.com/vim/vim/commit/e46a4405056276b4cbdacee76b11f85c8ea1830b
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|/
|
|
|
|
|
|
| |
Updte runtime files
https://github.com/vim/vim/commit/589edb340454e7f1b19358f129287a636d53d0e1
Co-authored-by: Bram Moolenaar <Bram@vim.org>
|
|\
| |
| | |
vim-patch:8.2.{4208,4210,4211,4212},9.0.{0077,0313}
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|