aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| | * | | test: add a test for what Vim patch 8.2.0151 fixeszeertzjq2022-07-08
| | | | |
| | * | | vim-patch:8.2.0151: detecting a script was already sourced is unreliablezeertzjq2022-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Detecting a script was already sourced is unreliable. Solution: Do not use the inode number. https://github.com/vim/vim/commit/978d170bdce9c0a47e6683cd7c288bc2706f3fff
| | * | | vim-patch:8.2.0136: stray ch_logfile() callzeertzjq2022-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Stray ch_logfile() call. Solution: Remove it. (closes vim/vim#5503) https://github.com/vim/vim/commit/ed5adff1e6da412732514d82363005f85fe22e04
| | * | | vim-patch:8.2.0132: script may be re-used when deleting and creating a new onezeertzjq2022-07-08
| |/ / / | | | | | | | | | | | | | | | | | | | | Problem: Script may be re-used when deleting and creating a new one. Solution: When the inode matches, also check the file name. https://github.com/vim/vim/commit/ca33eb256eb910af05e8c9852bc9f716cece1f5c
| * | | vim-patch:8.1.{1524,1544}: tests are silently skipped (#19276)zeertzjq2022-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a port of these two patches combined: vim-patch:8.1.1524: tests are silently skipped Problem: Tests are silently skipped. Solution: Throw an exception for skipped tests in more places. https://github.com/vim/vim/commit/b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1 vim-patch:8.1.1544: some balloon tests don't run when they can Problem: Some balloon tests don't run when they can. Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi, closes vim/vim#4538) Change the feature check into a command for consistency. https://github.com/vim/vim/commit/b46fecd3454399f8ebdc5055302e4bfc5a10f98b Omit test_lua.vim: previous patches are N/A Omit test_memory_usage.vim: previous patches are N/A Omit test_textprop.vim: previous patches are N/A Omit test_winbar.vim: previous patches are N/A Omit test_termcodes.vim: mostly N/A Skip Test_mouse_positon() because it uses test_setmouse(). Cannot throw error in a Test_nocatch_ test. Use latest `CheckFeature clipboard_working` for test_quotestar.vim
| * | | feat(runtime)!: enable filetype.lua by default (#19216)Christian Clason2022-07-07
| | | | | | | | | | | | | | | | | | | | | | | | * revert to filetype.vim by setting `g:do_legacy_filetype` * skip either filetype.lua or filetype.vim via `g:did_load_filetypes` (Running both is no longer required and therefore no longer supported.)
| * | | refactor(lua): git-blame-ignore stylua update PR (#19273)Christian Clason2022-07-07
| | | | | | | | | | | | https://github.com/neovim/neovim/pull/19264
| * | | refactor(lua): reformat with stylua 0.14.0 (#19264)Christian Clason2022-07-07
| |/ / | | | | | | | | | * reformat Lua runtime to make lint CI pass * reduce max line length to 100
| * | feat(tui): try terminfo for [re]set_cursor_color OSC #19255Wsevolod2022-07-07
| | |
| * | vim-patch:5ed11535e069 (#19256)Christian Clason2022-07-07
| | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/5ed11535e0695163cec71033b98bb97356cf0113
| * | Merge pull request #19263 from zeertzjq/vim-8.2.3674zeertzjq2022-07-07
| |\ \ | | | | | | | | vim-patch:8.2.{3674,4399}: problems after ml_get error
| | * | vim-patch:8.2.4399: crash after ml_get errorzeertzjq2022-07-07
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash after ml_get error. Solution: When returning "???" flush the line and set ml_line_lnum. https://github.com/vim/vim/commit/f9435e49ef8032e80d38e31e950e4a9b75387533
| | * | vim-patch:8.2.3674: when ml_get_buf() fails it messes up IObuffzeertzjq2022-07-07
| |/ / | | | | | | | | | | | | | | | Problem: When ml_get_buf() fails it messes up IObuff. Solution: Return a local pointer. (closes vim/vim#9214) https://github.com/vim/vim/commit/96e7a5928e1e7a350cd6c6d0b9376305190046e7
| * | Merge pull request #19180 from zeertzjq/tui-kitty-keypadzeertzjq2022-07-07
| |\ \ | | | | | | | | feat(tui): recognize keypad keys when using kitty keyboard protocol
| | * | test: add tests for keypad keys from kitty keyboard protocolzeertzjq2022-07-04
| | | |
| | * | feat(tui): recognize keypad keys when using kitty keyboard protocolerw72022-07-04
| | | |
| * | | Merge pull request #19261 from zeertzjq/vim-8.2.5023zeertzjq2022-07-07
| |\ \ \ | | | | | | | | | | vim-patch:8.2.{5023,5043,5044}: substitute textlock fixes
| | * | | vim-patch:8.2.5044: command line test failszeertzjq2022-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Command line test fails. Solution: Also beep when cmdline win can't be opened because of locks. Make the test not beep. Make the test pass on MS-Windows. https://github.com/vim/vim/commit/be99042b03edf7b8156c9adbc23516bfcf2cec0f
| | * | | vim-patch:8.2.5043: can open a cmdline window from a substitute expressionzeertzjq2022-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Can open a cmdline window from a substitute expression. Solution: Disallow opening a command line window when text or buffer is locked. https://github.com/vim/vim/commit/71223e2db87c2bf3b09aecb46266b56cda26191d
| | * | | vim-patch:8.2.5023: substitute overwrites allocated bufferzeertzjq2022-07-07
| |/ / / | | | | | | | | | | | | | | | | | | | | Problem: Substitute overwrites allocated buffer. Solution: Disallow undo when in a substitute command. https://github.com/vim/vim/commit/338f1fc0ee3ca929387448fe464579d6113fa76a
| * | | vim-patch:8.2.5063: error for a command may go over the end of IObuff (#19260)zeertzjq2022-07-07
| | | | | | | | | | | | | | | | | | | | Problem: Error for a command may go over the end of IObuff. Solution: Truncate the message. https://github.com/vim/vim/commit/44a3f3353e0407e9fffee138125a6927d1c9e7e5
| * | | vim-patch:8.2.0614: get ml_get error when deleting a line in 'completefunc' ↵zeertzjq2022-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#19244) Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan Lakshmanan) Solution: Lock the text while evaluating 'completefunc'. https://github.com/vim/vim/commit/ff06f283e3e4b3ec43012dd3b83f8454c98f6639 Fix a mistake in the porting of patch 8.1.0098. Cherry-pick Test_run_excmd_with_text_locked() from patch 8.2.0270. Cherry-pick test_gf.vim changes from patch 8.2.0369. Cherry-pick message change from later patches.
| * | | Merge pull request #19218 from smjonas/fix_ft_patternsChristian Clason2022-07-06
| |\ \ \ | | | | | | | | | | | | | | | | | | | | fix(filetype): fix filetype patterns fix(filetype): remove call to vim.fn.resolve and pass filename to match function
| | * | | fix(filetype): remove call to vim.fn.resolve and pass filename to match functionsmjonas2022-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | For example on MacOS, /etc/hostname.file is symlinked to /private/etc/hostname.file. We only care about the original file path though.
| | * | | fix(filetype): fix filetype patternssmjonas2022-07-06
| | | | |
| * | | | Merge pull request #19247 from zeertzjq/vim-8.2.4165zeertzjq2022-07-06
| |\ \ \ \ | | | | | | | | | | | | vim-patch:7.4.212,8.2.{4165,4221}: some functions in normal.c are too long
| | * | | | fix(normal): fix segfault with bracket command jumping to a markzeertzjq2022-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vim-patch:9.0.0043: insufficient testing for bracket commands Problem: Insufficient testing for bracket commands. Solution: Add a few more tests. (closes vim/vim#10668) https://github.com/vim/vim/commit/cf34434b5e840dda4a21cd9c0bee24e3e43a674d Cherry-pick a change from patch 8.2.0369.
| | * | | | vim-patch:8.2.4221: some functions in normal.c are very longzeertzjq2022-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some functions in normal.c are very long. Solution: Move code to separate functions. (Yegappan Lakshmanan, closes vim/vim#9628) https://github.com/vim/vim/commit/a827bf3ea8fe465aa456ef7a7a37d6afe6a47628
| | * | | | vim-patch:8.2.4165: the nv_g_cmd() function is too longzeertzjq2022-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The nv_g_cmd() function is too long. Solution: Move code to separate functions. (Yegappan Lakshmanan, closes vim/vim#9576) https://github.com/vim/vim/commit/05386ca1d4823e5c98c24b8cd038af49aee62577
| | * | | | vim-patch:7.4.212zeertzjq2022-07-06
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL. https://github.com/vim/vim/commit/f7ff6e85e8a4e84cff023f5db4b66ef85986605a
| * | | | feat: add 'mousescroll' option (#12355)Jay2022-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 'mousescroll' option to control how many lines to scroll by when a mouse wheel keycode is received. The mousescroll option controls both horizontal and vertical scrolling. The option is a string in the format: set mousescroll=direction:count,direction:count Where direction is either "ver" or "hor", and count is a non negative integer. If a direction is omitted, a default value is used. The default values remain unchanged, that is 3 for vertical scrolling, and 6 for horizontal scrolling. As such, the mousescroll default is "ver:3,hor:6". Add mousescroll documentation - Add option documentation in options.txt - Add brief summary in quickref.txt Update :help scroll-mouse-wheel - Mention mousescroll option as a means of controlling scrolling. - Remove obsolete suggestion to map scroll wheel keys to <C-U> to scroll by a single line -- users should prefer the mousescroll option. - Add some information about the consequences of remapping scroll wheel keys (they lose their magic ability to affect inactive windows). Update :help vim-differences - Add brief mousescroll summary under Options Add mousescroll tests - Test option validation - Test default mousescroll value and behavior - Test fallback to default values - Test mouse vertical and horizontal scrolling in normal mode - Test mouse vertical and horizontal scrolling in insert mode
| * | | | fix(mark): fix unexpected cursor movements (#19253)zeertzjq2022-07-06
| |/ / /
| * | | Merge pull request #19242 from smjonas/vim-9.0.0042Christian Clason2022-07-06
| |\ \ \ | | | | | | | | | | vim-patch:9.0.{0041,0042}: filetype patterns
| | * | | vim-patch:9.0.0042: missing change for filetype detectionsmjonas2022-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Missing change for filetype detection. Solution: Include change to detect guile from shebang line. https://github.com/vim/vim/commit/324478037923feef1eb8a771648e38ade9e5e05a
| | * | | vim-patch:9.0.0041: a couple of filetype patterns do not have "*" before "/etc"smjonas2022-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: A couple of filetype patterns do not have "*" before "/etc". Solution: Add the star. (Jonas Strittmatter, closes vim/vim#10662) https://github.com/vim/vim/commit/704988f0c3598c1b0cc47f3b46f1f1229312f2bc
| * | | | vim-patch:8.2.5162: reading before the start of the line with BS in Replace ↵zeertzjq2022-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode (#19241) Problem: Reading before the start of the line with BS in Replace mode. Solution: Check the cursor column is more than zero. https://github.com/vim/vim/commit/0971c7a4e537ea120a6bb2195960be8d0815e97b
| * | | | Merge pull request #19223 from lewis6991/ghactionJames McCoy2022-07-05
| |\ \ \ \ | | | | | | | | | | | | build: add github action annotations for clint
| | * | | | build: add github action annotations for clintLewis Russell2022-07-04
| | | |/ / | | |/| |
| * | | | vim-patch:8.0.1562: the terminal debugger can't set a breakpoint with the ↵zeertzjq2022-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mouse (#19234) Problem: The terminal debugger can't set a breakpoint with the mouse. Solution: Add popup menu entries. https://github.com/vim/vim/commit/71137fed4d77e985d49ca32c79f030512767b8ce This ports missing popup menu code to termdebug plugin. Despite the commit message, the code is copied from latest Vim. WinBar code is commented out and WinBar docs is not ported.
| * | | | Merge pull request #19232 from zeertzjq/vim-8.2.2904zeertzjq2022-07-05
| |\ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{2904,3644.3980,3990}: three Normal mode fixes
| | * | | | vim-patch:8.2.3990: testing wrong operatorzeertzjq2022-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Testing wrong operator. Solution: Test "g@" instead of "r_". (Naohiro Ono, closes vim/vim#9463) https://github.com/vim/vim/commit/5c75eed758fbeb39825834d51f3ee4e08f137af3
| | * | | | vim-patch:8.2.3980: if 'operatorfunc' invokes an operator Visual mode is changedzeertzjq2022-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: If 'operatorfunc' invokes an operator the remembered Visual mode may be changed. (Naohiro Ono) Solution: Save and restore the information for redoing the Visual area. (closes vim/vim#9455) https://github.com/vim/vim/commit/b3bd1d39e68e2d697c014b9f85482c2c12a3f909
| | * | | | vim-patch:8.2.3644: count for 'operatorfunc' in Visual mode is not redonezeertzjq2022-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Count for 'operatorfunc' in Visual mode is not redone. Solution: Add the count to the redo buffer. (closes vim/vim#9174) https://github.com/vim/vim/commit/2228cd72cf7c6f326e4e41179e88d37595ca4abc Cherry-pick a line from patch 8.2.0522.
| | * | | | vim-patch:8.2.2904: "g$" causes scroll if half a double width char is visiblezeertzjq2022-07-05
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "g$" causes scroll if half a double width char is visible. Solution: Advance to the last fully visible character. (closes vim/vim#8254) https://github.com/vim/vim/commit/74ede80aeb272ac81d41a256057c4f250372dd00
| * | | | fix(terminal): crash if TermClose deletes own buffer #19222Justin M. Keyes2022-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Partially fixes #10386 except for the case where the alternate buffer is the default, empty, first buffer created on startup. #vimlife - TODO: port patches related to `can_unload_buffer`, maybe that fully fixes #10386? vim-patch:8.0.1732: crash when terminal API call deletes the buffer
| * | | | Merge pull request #19231 from zeertzjq/vim-8.2.3615zeertzjq2022-07-05
| |\ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{3615,3754,5122}: indent fixes
| | * | | | vim-patch:8.2.5122: lisp indenting my run over the end of the linezeertzjq2022-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Lisp indenting my run over the end of the line. Solution: Check for NUL earlier. https://github.com/vim/vim/commit/0e8e938d497260dd57be67b4966cb27a5f72376f
| | * | | | vim-patch:8.2.3754: undesired changing of the indent of the first formatted linezeertzjq2022-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Undesired changing of the indent of the first formatted line. Solution: Do not indent the first formatted line. https://github.com/vim/vim/commit/ecabb511074b3f56cdd5067553c947a291d04e17
| | * | | | vim-patch:8.2.3615: wrong indent in first line if re-formatting with indent exprzeertzjq2022-07-05
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When re-formatting with an indent expression the first line of a paragraph may get the wrong indent. (Martin F. Krafft) Solution: Apply the correct indenting function for the first line. (Christian Brabandt, closes vim/vim#9150, closes vim/vim#9056) https://github.com/vim/vim/commit/818ff25cd1aabf60b9cd239da2f1328a959954f7
| * | | | Merge pull request #19229 from zeertzjq/vim-8.2.0363zeertzjq2022-07-05
| |\ \ \ \ | | | | | | | | | | | | vim-patch:8.2.{0363,0416}: some Normal mode commands not tested