aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* vim-patch:8.2.3184: cannot add a digraph with a leading spacezeertzjq2022-04-12
| | | | | | | | | | | | | | | 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.
* vim-patch:8.2.4739: accessing freed memory after WinScrolled autocmd event ↵zeertzjq2022-04-12
| | | | | | | | (#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
* vim-patch:8.2.4713: plugins cannot track text scrollingzeertzjq2022-04-12
| | | | | | | | 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.
* test(old): fix mistakes in porting Vim patches 8.1.1362 and 8.1.1585 (#18080)zeertzjq2022-04-12
|
* vim-patch:8.2.4737: // in JavaScript string recognized as comment (#18083)Christian Clason2022-04-11
| | | | | 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
* vim-patch:8.2.4734: getcharpos() may change a mark position (#18077)zeertzjq2022-04-11
| | | | | Problem: getcharpos() may change a mark position. Solution: Copy the mark position. (closes vim/vim#10148) https://github.com/vim/vim/commit/3caf1cce2b85a8f24195d057f0ad63082543e99e
* vim-patch:8.2.4733: HEEx and Surface do need a separate filetypezeertzjq2022-04-11
| | | | | | 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
* vim-patch:8.2.4714: using g:filetype_dat and g:filetype_src not testedzeertzjq2022-04-11
| | | | | | 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
* fix(events): make v:event readonly in more events (#18070)zeertzjq2022-04-11
| | | | | | | This makes v:event readonly in these four events: - ChanInfo - ChanOpen - RecordingLeave - TermClose
* Merge pull request #18071 from gpanders/create_ucGregory Anders2022-04-10
|\ | | | | refactor!: Rename nvim_add_user_command to nvim_create_user_command
| * refactor!: rename nvim_add_user_command to nvim_create_user_commandGregory Anders2022-04-10
| |
* | fix(tui)!: remove `ESC NUL` forced escape (#17198)zeertzjq2022-04-11
| | | | | | | | | | | | | | | | | | | | This make Nvim recognize `ESC NUL` as <M-C-Space>, as many terminal emulators (including libvterm) send <M-C-Space> as `ESC NUL`. There is already another unambiguous way to encode a `ESC` key supported by libtermkey: `ESC [ 2 7 u`, which is a `CSI u` sequence. If one still wants to use `ESC NUL` as `ESC`, they can just map <M-C-Space> to <Esc>.
* | feat(keymap): add F38-F63 keys (#17893)zeertzjq2022-04-11
|/
* feat(events): support SIGWINCH for Signal event #18029Loong Wang2022-04-10
| | | closes #15411
* refactor(globals.h): avoid confusing comment placement (#18066)zeertzjq2022-04-10
| | | | These comments were indented in Vim, but their indent was removed in Nvim, causing them to be placed in a confusing place.
* vim-patch:8.2.4729: HEEx and Surface templates do not need a separate ↵Christian Clason2022-04-10
| | | | | | | 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
* vim-patch:8.2.4728: no test that v:event cannot be modifiedzeertzjq2022-04-10
| | | | | | Problem: No test that v:event cannot be modified. Solution: Add a test. (closes vim/vim#10139) https://github.com/vim/vim/commit/021996ffaa933d9dc0c3553ca01de93fbf3d522b
* vim-patch:8.2.4723: the ModeChanged autocmd event is inefficientzeertzjq2022-04-10
| | | | | | | | | Problem: The ModeChanged autocmd event is inefficient. Solution: Avoid allocating memory. (closes vim/vim#10134) Rename trigger_modechanged() to may_trigger_modechanged(). https://github.com/vim/vim/commit/2bf52dd065495cbf28e28792f2c2d50d44546d9f Make v:event readonly for ModeChanged.
* vim-patch:8.2.4719: ">" marker sometimes not displayed in the jumplist (#18056)zeertzjq2022-04-10
| | | | | | | | 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
* vim-patch:8.2.4722: ending recording with mapping records too much (#18060)zeertzjq2022-04-10
| | | | | | 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
* vim-patch:8.2.4718: @@@ in the last line sometimes drawn in the wrong place ↵zeertzjq2022-04-10
| | | | | | | (#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
* vim-patch:8.2.4721: cooklang files are not recognized (#18058)Christian Clason2022-04-09
| | | | | Problem: Cooklang files are not recognized. Solution: recognize *.cook files. (Goc Dundar, closes vim/vim#10120) https://github.com/vim/vim/commit/36951ed1dab2b2e816dc8959c72b5732f36d9e3b
* vim-patch:8.2.4720: ABB Rapid files are not recognized properly (#18057)Christian Clason2022-04-09
| | | | | | 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
* Merge pull request #18023 from tom-anders/vim-8.2.4702zeertzjq2022-04-09
|\ | | | | vim-patch:8.2.{4702,4703}: C++ scope labels are hard-coded
| * vim-patch:8.2.4703: memory leak in handling 'cinscopedecls'Tom Praschan2022-04-09
| | | | | | | | | | | | Problem: Memory leak in handling 'cinscopedecls'. Solution: Free the memory before returning. https://github.com/vim/vim/commit/cb49a1d934d38cbc0d445af59b71ffe45cbcae75
| * vim-patch:8.2.4702: C++ scope labels are hard-codedTom Praschan2022-04-09
| | | | | | | | | | | | | | 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
* | vim-patch:8.2.4715: Vagrantfile not recognized (#18052)Christian Clason2022-04-09
| | | | | | | | | | Problem: Vagrantfile not recognized. Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes vim/vim#10119) https://github.com/vim/vim/commit/5e1792270a072a96157e5d5e1d6a97414e26d0bf
* | vim-patch:partial:8.1.2333: with modifyOtherKeys CTRL-^ doesn't work (#18048)zeertzjq2022-04-09
| | | | | | | | | | Problem: With modifyOtherKeys CTRL-^ doesn't work. Solution: Handle the exception. https://github.com/vim/vim/commit/828ffd596394f714270a01a55fc3f949a8bd9b35
* | Merge pull request #17971 from chentau/extmark_spellbfredl2022-04-08
|\ \ | | | | | | fix(extmarks): splice extmarks on accepting spell
| * | fix(extmarks): splice extmarks on accepting spellTony Chen2022-04-02
| | |
* | | Merge pull request #17786 from gpanders/autocmd-argsbfredl2022-04-08
|\ \ \ | | | | | | | | feat(api)!: pass args table to autocommand callbacks
| * | | feat(api)!: pass args table to autocommand callbacksGregory Anders2022-04-08
| | | |
* | | | vim-patch:8.2.4711: when 'insermode' is set :edit from <Cmd> mapping misbehaveszeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | vim-patch:8.2.3925: diff mode confused by NUL bytes (#18033)zeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | vim-patch:8.2.4704: using "else" after return or break increases indent (#18032)zeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | Problem: Using "else" after return or break increases indent. Solution: Remove "else" and reduce indent. (Goc Dundar, closes vim/vim#10099) https://github.com/vim/vim/commit/f26c16144ddb27642c09f2cf5271afd163b36306
* | | | vim-patch:8.2.4706: buffer remains active with WinClosed and tabpageszeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Buffer remains active if a WinClosed event throws an exception when there are multiple tabpages. Solution: Ignore aborting() when closing the buffer. (closes vim/vim#10101) https://github.com/vim/vim/commit/6a06940f8ae7283999c83ccdf268540220573105
* | | | vim-patch:8.2.4700: buffer remains active if WinClosed event throws an exceptionzeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Buffer remains active if a WinClosed event throws an exception. Solution: Ignore aborting() when closing the buffer. (closes vim/vim#10097) https://github.com/vim/vim/commit/c947b9ae419114ebfef9725814ea41a466fcf879
* | | | vim-patch:8.2.0004: get E685 and E931 if buffer reload is interruptedzeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Get E685 and E931 if buffer reload is interrupted. Solution: Do not abort deleting a dummy buffer. (closes vim/vim#5361) https://github.com/vim/vim/commit/a6e8f888e7fc31b8ab7233509254fb2e2fe4089f
* | | | refactor(window): cherry-pick win_close_buffer() from Vim patch 8.1.1391zeertzjq2022-04-08
| | | |
* | | | vim-patch:8.2.4710: smart indenting does not work after completion (#18030)zeertzjq2022-04-08
| | | | | | | | | | | | | | | | | | | | Problem: Smart indenting does not work after completion. Solution: Set "can_si". (Christian Brabandt, closes vim/vim#10113, closes vim/vim#558) https://github.com/vim/vim/commit/ac72c21da696cf6c31630a9e5ff4c0d3e2049c11
* | | | vim-patch:8.2.4708: PHP test files are not recognized (#18025)Christian Clason2022-04-07
| | | | | | | | | | | | | | | | | | | | Problem: PHP test files are not recognized. Solution: Add the *.phpt pattern. (Julien Voisin, closes vim/vim#10112) https://github.com/vim/vim/commit/177847e67a495f80a15b6dfd0a3fcd151b44249e
* | | | vim-patch:8.2.4707: redrawing could be a bit more efficient (#18022)zeertzjq2022-04-07
| | | | | | | | | | | | | | | | | | | | Problem: Redrawing could be a bit more efficient. Solution: Optimize redrawing. (closes vim/vim#10105) https://github.com/vim/vim/commit/8c9796085071950f9a03ca0fe116608e4f86aac2
* | | | fix(event-loop): check if executed register has endedzeertzjq2022-04-07
| | | |
* | | | fix(input): fix clearing of reg_executingzeertzjq2022-04-07
|/ / / | | | | | | | | | vim-patch:8.2.4705
* | | Merge pull request #17979 from zeertzjq/autocmd-show-fixbfredl2022-04-07
|\ \ \ | | | | | | | | fix(autocmd): restore autocmd showing behavior
| * | | fix(autocmd): restore autocmd showing behaviorzeertzjq2022-04-06
| | | |
* | | | vim-patch:8.2.4701: Kuka Robot Language files not recognized (#18012)Christian Clason2022-04-07
| |_|/ |/| | | | | | | | | | | | | | Problem: Kuka Robot Language files not recognized. Solution: Recognize *.src and *.dat files. (Patrick Meiser-Knosowski, closes vim/vim#10096) https://github.com/vim/vim/commit/3ad2090316edc85e93094bba7af64f9991cc7f85
* | | vim-patch:8.2.0836: not all :cdo output is visible (#18007)zeertzjq2022-04-06
|/ / | | | | | | | | | | | | Problem: Not all :cdo output is visible. Solution: Reset 'shortmess' temporarily. (Yegappan Lakshmanan, closes vim/vim#6155) https://github.com/vim/vim/commit/14798ab9a5ee4b94f6c12f1986207569356acfc8 Cherry pick relevant changes form patches 8.1.1826 and 8.2.0557.
* | vim-patch:8.2.4696: delete() with "rf" argument does not report a failure ↵zeertzjq2022-04-06
| | | | | | | | | | | | | | (#18002) Problem: delete() with "rf" argument does not report a failure. Solution: Return -1 if the directory could not be removed. (closes vim/vim#10078) https://github.com/vim/vim/commit/478700336d1c72e133b8ff6841e968c1bb1658ed
* | Merge pull request #18003 from bfredl/incperf2bfredl2022-04-05
|\ \ | | | | | | fix(ui): inccomand performance degradation