| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
Problem: Autocommand that splits window messes up window layout.
Solution: Disallow splitting a window while closing one. In ":all" give an
error when moving a window will not work.
https://github.com/vim/vim/commit/1417c766f55e5959b31da488417b7d9b141404af
Expected error number was changed to E242 in Vim in patch 8.2.1183, and
patch 8.2.2420 (which has already been ported) made the test no longer
throw E249 in Vim, so just use E242 in the test.
|
|\
| |
| | |
vim-patch:8.2.4797: getwininfo() may get oudated values
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: getwininfo() may get oudated values.
Solution: Make sure w_botline is up-to-date. (closes vim/vim#10226)
https://github.com/vim/vim/commit/8530b41fd3872c9a1349b083470d565677948518
Correct test order and add a modeline in test_bufwintabinfo.vim.
|
| |
| |
| |
| |
| |
| | |
Problem: Indent operator creates an undo entry for every line.
Solution: Create one undo entry for all lines. (closes vim/vim#10227)
https://github.com/vim/vim/commit/e4686989944bffdbcf59890aa21091b135528618
|
|/
|
|
|
|
|
|
|
| |
Problem: Insufficient testing for indent.c.
Solution: Add indent tests. (Yegappan Lakshmanan, closes vim/vim#5736)
https://github.com/vim/vim/commit/bd7206e02c957f0619e68e1628e2a3e91dd41e06
Cherry-pick Test_ex_mode() changes from Vim patches 8.2.{0342,0347}.
Reorder test_expand_func.vim to match upstream.
|
|\
| |
| | |
vim-patch:8.2.{4795,4796,4801}: 'cursorbind' scrolling depends on whether 'cursorline' is set
|
| |
| |
| |
| |
| |
| | |
Problem: Fix for cursorbind fix not fully tested.
Solution: Add another test case. (Christian Brabandt, closes vim/vim#10240)
https://github.com/vim/vim/commit/3fd7480cd25f1e939fc2362e0644d497bcc81b71
|
| |
| |
| |
| |
| |
| | |
Problem: File left behind after running cursorline tests.
Solution: Uncomment the line that deletes the file.
https://github.com/vim/vim/commit/da1050cd6fbb67cfde5b4a149d8d9db80bb4351c
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
is set
Problem: 'cursorbind' scrolling depends on whether 'cursorline' is set.
Solution: Always call validate_cursor(). (Christian Brabandt, closes vim/vim#10230,
closes vim/vim#10014)
https://github.com/vim/vim/commit/2c645e8b00641f504072f35e061b7392ed41f491
|
|/
|
|
|
|
|
|
|
| |
Problem: Current instance of last search pattern not easily spotted.
Solution: Add CurSearch highlighting. (closes vim/vim#10133)
https://github.com/vim/vim/commit/a43993897aa372159f682df37562f159994dc85c
This fixes CurSearch highlight for multiline match.
Omit screen redrawing code because Nvim redraws CurSearch differently.
|
|
|
|
|
|
| |
Problem: Recognizing Maxima filetype even though it might be another.
Solution: Remove *.mc and *.dem patterns from Maxima files
https://github.com/vim/vim/commit/928a13135629fa8e73796760077b1b877918a080
|
|
|
|
|
|
| |
Problem: Maxima files are not recognized.
Solution: Add patterns to detect Maxima files. (Doron Behar, closes vim/vim#10211)
https://github.com/vim/vim/commit/d0a20c9d111da75febb60ffee2e15f727ab6a5ad
|
|
|
|
|
| |
Problem: Lilypond filetype not recognized.
Solution: Add patterns for lilypond. (Doug Kearns)
https://github.com/vim/vim/commit/c448e9c95089b5e7170a0dd36635a226c5eb5b1c
|
|
|
|
|
| |
Problem: Pacman files use dosini filetype.
Solution: Use conf instead. (Chaoren Lin, closes vim/vim#10213)
https://github.com/vim/vim/commit/35cff32dd82e5e2b72453b9f27d0655fc5b8a639
|
|
|
|
|
| |
Problem: Openscad files are not recognized.
Solution: Add a filetype pattern. (Niklas Adam, closes vim/vim#10199)
https://github.com/vim/vim/commit/c360b2566ce2390d45d9436a6a85719fe2b387d5
|
|
|
|
|
|
| |
Problem: KRL files using "deffct" not recognized.
Solution: Adjust the pattern used for matching. (Patrick Meiser-Knosowski,
closes vim/vim#10200)
https://github.com/vim/vim/commit/93c7a45e86934a92ec513b437fe9b8cc343c53e3
|
|
|
|
|
|
|
| |
WinEnter (#18136)
Problem: Using freed memory when using synstack() and synID() in WinEnter.
Solution: Check using the syntax window. (closes vim/vim#10204)
https://github.com/vim/vim/commit/ca7e86c23789eb0ed8f6400f25ea9e0e1036f9fc
|
|
|
|
|
|
|
|
|
| |
(#18117)
Problem: Wrong 'statusline' value can cause illegal memory access.
Solution: Properly check the value. (closes vim/vim#10192)
https://github.com/vim/vim/commit/5dc294a7b63ed0e508dd360bc4d98173f1a1aeec
Make two error messages static variables.
|
|
|
|
|
|
|
|
|
|
| |
Co-authored-by: Elias Alves Moura <eliamoura.alves@gmail.com>
Co-authored-by: venkatesh <shariharanvenkatesh@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Vikas Raj <24727447+numToStr@users.noreply.github.com>
Co-authored-by: Steve Vermeulen <sfvermeulen@gmail.com>
Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Co-authored-by: rwxd <rwxd@pm.me>
Co-authored-by: casswedson <58050969+casswedson@users.noreply.github.com>
|
|
|
|
|
| |
Problem: No filetype override for .sys files.
Solution: Add g:filetype_sys. (Patrick Meiser-Knosowski, closes vim/vim#10181)
https://github.com/vim/vim/commit/f420ff2440a009acd9573fdb6ad6d53509d78009
|
|\
| |
| | |
vim-patch:8.2.{3416,3448,3470,3478,3480,3486,3487}
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Illegal memory access if buffer name is very long.
Solution: Make sure not to go over the end of the buffer.
https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b
Adjust the test to use :noswapfile, as Nvim fails to create the swap file on Windows due to the file
name's length (E303).
We don't have this behaviour on Linux as we get "[Permission denied]" from readfile(), so there is
no attempt to create the swap file. However, Vim doesn't try to create the swap file on Windows
either for a different reason: MAXPATHL in Vim for Windows is only 1024 (compared to Nvim's 4096 on
the Windows CI), so readfile() gives "Illegal file name" instead, thus not needing :noswapfile for
both cases.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Illegal memory access with invalid sequence of commands.
Solution: Do not call leave_block() when not in a try block. (closes vim/vim#8966)
Reset did_emsg so that exception is shown as an error.
https://github.com/vim/vim/commit/cce81e9673fe8d056e8eef310d9919620eccb2f2
Vim9script is N/A, which includes leave_block.
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Test does not fail without the fix for a crash.
Solution: Write the bad code in a file and source it. (Dominique Pellé,
closes vim/vim#8961)
https://github.com/vim/vim/commit/949de97da32d4fff28c569387e2ba8b3e311e64d
|
| |
| |
| |
| |
| |
| | |
Problem: Crash with error in :catch and also in :finally.
Solution: Only discard an exception if there is one. (closes vim/vim#8954)
https://github.com/vim/vim/commit/a684a684096ecef3fbaee39c573b47423235d6b1
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: :endtry after function call that throws not found.
Solution: Do check for following :endtry if an exception is being thrown.
(closes vim/vim#8889)
https://github.com/vim/vim/commit/1d34189ecb99fa76363c06e1aa815c1075675a1c
Nvim obsoleted did_throw; check current_exception is not NULL instead.
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Second error is reported while exception is being thrown.
Solution: Do not check for trailing characters when already aborting.
(closes vim/vim#8842)
https://github.com/vim/vim/commit/36f691f5f1d0676f080cc97d697d742ed5cc8251
|
|/
|
|
|
|
| |
Problem: Supercollider filetype not recognized.
Solution: Match file extentions and check file contents to detect
supercollider. (closes vim/vim#10142)
https://github.com/vim/vim/commit/8cac20ed42b7b7fc9c6b54e3055ca1047f50b8ca
|
|
|
|
|
|
| |
Problem: Digraph test fails when LC_ALL is set to "C".
Solution: When restoring 'encoding' set it to "utf-8". (closes vim/vim#8742)
https://github.com/vim/vim/commit/52eb372a04dfc5d5afef238c1b3c4a8e92020837
|
|
|
|
|
|
| |
Problem: New digraph functions use old naming scheme.
Solution: Use the digraph_ prefix. (Hirohito Higashi, closes vim/vim#8580)
https://github.com/vim/vim/commit/29b857150c111a455f1a38a8f748243524f692e1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot add a digraph with a leading space. It is not easy to list
existing digraphs.
Solution: Add setdigraph(), setdigraphlist(), getdigraph() and
getdigraphlist(). (closes vim/vim#8580)
https://github.com/vim/vim/commit/6106504e9edc8500131f7a36e59bc146f90180fa
Use GA_APPEND_VIA_PTR in registerdigraph().
Use tv_list_append_*() in getdigraphlist_appendpair().
Put the error messages in digraph.c.
E196 is N/A.
Remove mentions about 'encoding' being non-Unicode.
Nvim doesn't support setting encoding=japan, so skip a test.
|
|
|
|
|
|
|
|
| |
(#18090)
Problem: Accessing freed memory after WinScrolled autocmd event.
Solution: Check the window pointer is still valid. (closes vim/vim#10156)
Remove the argument from may_trigger_winscrolled().
https://github.com/vim/vim/commit/d58862d18f091d3c14fa3647e724ef7eea1ecefa
|
|
|
|
|
|
|
|
| |
Problem: Plugins cannot track text scrolling.
Solution: Add the WinScrolled event. (closes vim/vim#10102)
https://github.com/vim/vim/commit/0937182d49fa8db50cec42785f22f1031760a0bd
Skip User event in autocmd.txt, not needed unless #10689 is reverted.
|
| |
|
|
|
|
|
| |
Problem: // in JavaScript string recognized as comment.
Solution: Only check for linecomment if 'cindent' is set. (closes vim/vim#10151)
https://github.com/vim/vim/commit/1655619717ff109ea8bf1002883636d5af345e48
|
|
|
|
|
| |
Problem: getcharpos() may change a mark position.
Solution: Copy the mark position. (closes vim/vim#10148)
https://github.com/vim/vim/commit/3caf1cce2b85a8f24195d057f0ad63082543e99e
|
|
|
|
|
|
| |
Problem: HEEx and Surface do need a separate filetype.
Solution: Revert 8.2.4729. (closes vim/vim#10147)
https://github.com/vim/vim/commit/4232dff815db1a727cb1aea26783267d8bd731c3
|
|
|
|
|
|
| |
Problem: Using g:filetype_dat and g:filetype_src not tested.
Solution: Add a test. (Patrick Meiser-Knosowski, closes vim/vim#10117)
https://github.com/vim/vim/commit/a8034a4886843fbf10bd59a6f55ec723da515b8e
|
|
|
|
|
|
|
| |
filetype (#18065)
Problem: HEEx and Surface templates do not need a separate filetype.
Solution: Use Eelixir for the similar filetypes. (Aaron Tinio, closes vim/vim#10124)
https://github.com/vim/vim/commit/fa76a24109f3c3287e4ee17b6270bfd5310c12f3
|
|
|
|
|
|
| |
Problem: No test that v:event cannot be modified.
Solution: Add a test. (closes vim/vim#10139)
https://github.com/vim/vim/commit/021996ffaa933d9dc0c3553ca01de93fbf3d522b
|
|
|
|
|
|
|
|
| |
Problem: ">" marker sometimes not displayed in the jumplist.
Solution: If the buffer no longer exists show "-invalid-". (Christian
Brabandt, closes vim/vim#10131, closes vim/vim#10100)
https://github.com/vim/vim/commit/a0f659c76e22108880f857b8961422afc5ed8f5d
Add a modeline to test_jumplist.vim
|
|
|
|
|
|
| |
Problem: When a recording is ended with a mapped key that key is also
recorded.
Solution: Remember the previous last_recorded_len. (closes vim/vim#10122)
https://github.com/vim/vim/commit/81b46a6ccd818609e1ca8cd410e26a58428c30ba
|
|
|
|
|
|
|
| |
(#18055)
Problem: @@@ in the last line sometimes drawn in the wrong place.
Solution: Make sure the column is valid. (closes vim/vim#10130)
https://github.com/vim/vim/commit/cee9c844f27bceaba90362a3fa27a04d4d06c0fd
|
|
|
|
|
| |
Problem: Cooklang files are not recognized.
Solution: recognize *.cook files. (Goc Dundar, closes vim/vim#10120)
https://github.com/vim/vim/commit/36951ed1dab2b2e816dc8959c72b5732f36d9e3b
|
|
|
|
|
|
| |
Problem: ABB Rapid files are not recognized properly.
Solution: Add checks for ABB Rapid files. (Patrick Meiser-Knosowski,
closes #10104)
https://github.com/vim/vim/commit/b09c320039ad49e62d2e2d7f14ba47ee3ca0706a
|
|\
| |
| | |
vim-patch:8.2.{4702,4703}: C++ scope labels are hard-coded
|
| |
| |
| |
| |
| |
| |
| | |
Problem: C++ scope labels are hard-coded.
Solution: Add 'cinscopedecls' to define the labels. (Tom Praschan,
closes vim/vim#10109)
https://github.com/vim/vim/commit/3506cf34c17c5eae6c2d1317db1fcd5a8493c288
|
| |
| |
| |
| |
| | |
Problem: Vagrantfile not recognized.
Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes vim/vim#10119)
https://github.com/vim/vim/commit/5e1792270a072a96157e5d5e1d6a97414e26d0bf
|
| |
| |
| |
| |
| |
| |
| | |
Problem: When 'insermode' is set :edit from <Cmd> mapping misbehaves.
Solution: Don't set "need_start_insertmode" when already in Insert mode.
(closes vim/vim#10116)
https://github.com/vim/vim/commit/3a56b6d405fc0f1ca928b77382f97d0c552bea64
|
| |
| |
| |
| |
| |
| | |
Problem: Diff mode confused by NUL bytes.
Solution: Handle NUL bytes differently. (Christian Brabandt, closes vim/vim#9421,
closes vim/vim#9418)
https://github.com/vim/vim/commit/06f6095623cfcc72da08748c058d13b465652fd4
|