aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | treesitter: allow custom parser for highlighterThomas Vigouroux2020-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also allow to get parser ranges. This will be useful for language injection, allowing us to tweak the parser's ranges on the fly. Update runtime/lua/vim/treesitter.lua Co-authored-by: Paul Burlumi <paul@burlumi.com>
* | | | | Fix multiple typos (#13063)Hansraj Das2020-10-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix multiple typos in `src/nvim/api/ui_events.in.h` * Below spellings are corrected: * Definitions * Revision * Performance * Typo fix `presense` should be presence * Typo fix, follwed -> followed * Typo fix, attemping -> attempting * Typo fix, duplicate 'the' * Typo fix, bounaries -> boundaries * Revert "Typo fix, bounaries -> boundaries" This reverts commit 24779e55e596f7534585938a7e532830ad2fa83c. * Revert "Typo fix, duplicate 'the'" This reverts commit 1d41d74f78736e67821a15edc9c174a2c3024f87. * Revert "Typo fix, attemping -> attempting" This reverts commit d8b2860dfcac366af7afae1f09946ed0aee4a34e.
* | | | | vim-patch:8.2.1837: using "gn" after "gN" does not workJan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using "gn" after "gN" does not work. Solution: Extend the other end of the Visual area. (closes vim/vim#7109) https://github.com/vim/vim/commit/c07b7f701fb30d26112051e4ec737c7e3db72357 N/A patches for version.c: vim-patch:8.2.1834: PyEval_InitThreads() is deprecated in Python 3.9 Problem: PyEval_InitThreads() is deprecated in Python 3.9. Solution: Do not call PyEval_InitThreads in Python 3.9 and later. (Ken Takata, closes vim/vim#7113) Avoid warnings for functions. https://github.com/vim/vim/commit/efc0d94afc48a03b07955e91315e7e67945cd079
* | | | | test/old: skip Test_addr_all() for nowJan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | It needs patch v8.1.0341 to pass. Patch v8.1.0341 fails Test_nocatch_wipe_all_buffers().
* | | | | vim-patch:8.1.1206: user command parsing and listing not properly testedJan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: User command parsing and listing not properly tested. Solution: Add more tests. (Dominique Pelle, closes vim/vim#4296) https://github.com/vim/vim/commit/d1f90bbcab0ad934d3f48a717a916807b57269ab
* | | | | vim-patch:8.1.1204: output of :command with address completion is not niceJan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Output of :command with address completion is not nice. Solution: Shorten the address completion names. https://github.com/vim/vim/commit/a561a41a70db7a9367f883c1dbb14e69b3364d08
* | | | | vim-patch:8.1.0560: cannot use address type "other" with with user commandJan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot use address type "other" with with user command. Solution: Add "other" to the list. (Daniel Hahler, closes vim/vim#3655) Also reject "%" for commands with "other". Add some more tests. https://github.com/vim/vim/commit/51a7454cd2c34ee459f104e45768eab3817c099e
* | | | | vim-patch:8.2.1823: "gN" does not select the matched stringJan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "gN" does not select the matched string. Solution: Move the cursor to the start of the match. https://github.com/vim/vim/commit/28f224b2c1bd2fcdee7b4fe2c64826e1cff08f39 N/A patches for version.c: vim-patch:8.2.1820: Vim9: crash when error happens in timer callback Problem: Vim9: crash when error happens in timer callback. Solution: Check that current_exception is not NULL. (closes vim/vim#7100) https://github.com/vim/vim/commit/820d55a50bbc8c0ad0505b7e4302a734896b6bab vim-patch:8.2.1829: warnings when executing Github actions Problem: Warnings when executing Github actions. Solution: Use another method to set environment variables. (Ken Takata, closes vim/vim#7107) https://github.com/vim/vim/commit/bd6428b9e79ed85b54ea7eaa11871fa09d63ab6f vim-patch:8.2.1830: MS-Windows: Python3 issue with stdin Problem: MS-Windows: Python3 issue with stdin. Solution: Check if stdin is readable. (Ken Takata, closes vim/vim#7106) https://github.com/vim/vim/commit/c6ed254d9fda0ff54cdedce5597ff3e0d0218d18 vim-patch:8.2.1831: file missing from distribution Problem: File missing from distribution. Solution: Add the github code analyses file. https://github.com/vim/vim/commit/ef16c90423ae579927e6294c1ccfd17c5a1c113c
* | | | | vim-patch:8.2.1101: no error when using wrong arguments for setqflist()Jan Edmund Lazo2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No error when using wrong arguments for setqflist() or setloclist(). Solution: Check for the error. https://github.com/vim/vim/commit/be7a50c22f63478a6e64fe6b932a847830191b95
* | | | | vim-patch:8.1.1036: quickfix function arguments are inconsistentJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Quickfix function arguments are inconsistent. Solution: Pass a list pointer to more functions. (Yegappan Lakshmanan, closes vim/vim#4149) https://github.com/vim/vim/commit/9afe5e9cc01c8ee6811f641746bb5d0d157ea17e
* | | | | vim-patch:8.1.1015: quickfix buffer shows up in list, can't get buffer numberJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Quickfix buffer shows up in list, can't get buffer number. Solution: Make the quickfix buffer unlisted when the quickfix window is closed. get the quickfix buffer number with getqflist(). (Yegappan Lakshmanan, closes vim/vim#4113) https://github.com/vim/vim/commit/647e24ba3dbf7ff448aa471b1a659a18267ae056
* | | | | vim-patch:8.1.0988: deleting location list buffer breaks location list windowJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Deleting a location list buffer breaks location list window functionality. Solution: (Yegappan Lakshmanan, closes vim/vim#4056) https://github.com/vim/vim/commit/d82a81cad93708a6c180e59119db4818cc38c1a9 Cherry-pick Xqbuf_test() changes from patch 8.1.0892. Patch 8.1.0892 triggers a memory leak.
* | | | | vim-patch:8.1.0877: new buffer used every time the quickfix window is openedJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: New buffer used every time the quickfix window is opened. Solution: Reuse the buffer. (Yegappan Lakshmanan, closes vim/vim#3902) https://github.com/vim/vim/commit/ee8188fc74a7cf9ee7acb634b2bb7a032d0cb24c
* | | | | vim-patch:8.1.0720: cannot easily change the current quickfx list indexJan Edmund Lazo2020-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot easily change the current quickfx list index. Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan, closes vim/vim#3701) https://github.com/vim/vim/commit/5b69c22fd2bf0c0d32aab90ee4c7ef74259d2c4c
* | | | | vim-patch:8.1.0523: opening window from quickfix leaves empty buffer behindJan Edmund Lazo2020-10-10
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Opening window from quickfix leaves empty buffer behind. Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes vim/vim#2574) https://github.com/vim/vim/commit/b244373becbec124bee20dbbfd05365586cda8cd Close https://github.com/neovim/neovim/pull/12855
* | | | Merge pull request #13038 from bfredl/multiluahlBjörn Linse2020-10-10
|\ \ \ \ | | | | | | | | | | api: multiple decoration providers at once
| * | | | whineBjörn Linse2020-10-10
| | | | |
| * | | | screen: untangle static and dynamic decorationsBjörn Linse2020-10-10
| | | | |
| * | | | because reasons (undefined behavior)Björn Linse2020-10-10
| | | | |
| * | | | api: multiple decoration providers at onceBjörn Linse2020-10-10
| | | | |
* | | | | Merge pull request #12904 from erw7/vim-8.1.0431Jan Edmund Lazo2020-10-10
|\ \ \ \ \ | |/ / / / |/| | | | vim-patch:8.{1.0431,1.0489,2.1677}
| * | | | vim-patch:8.2.1677: memory access errors when calling setloclist() in ↵erw72020-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | autocommand Problem: Memory access errors when calling setloclist() in an autocommand. Solution: Give an error if the list was changed unexpectedly. (closes vim/vim#6946) https://github.com/vim/vim/commit/4d170af0a9379da64d67dc3fa7cc7297956c6f52
| * | | | vim-patch:8.1.0489: crash when autocmd clears vimpgrep location listerw72020-09-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when autocmd clears vimpgrep location list. Solution: Return from qf_jump_edit_buffer() early. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/b6f1480a6a8b1a6fa4d5da97aeb5f4755b71eb91
| * | | | vim-patch:8.1.0431: the qf_jump() function is too longerw72020-09-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The qf_jump() function is too long. Solution: Refactor to split it into several functions. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/6dae96ef7ad56191c13c4993f04cbfd450d91ad2
* | | | | basic support for usdt probesZachary P. Landau2020-10-10
| | | | |
* | | | | Merge pull request #13075 from vigoux/ts-check-parser-versionThomas Vigouroux2020-10-09
|\ \ \ \ \ | | | | | | | | | | | | treesitter: check language ABI version on load
| * | | | | treesitter: check language ABI version on loadThomas Vigouroux2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | This is will avoid some issues at runtime.
* | | | | | vim-patch:8.2.0007: popup menu positioned wrong with folding in two tabsJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Popup menu positioned wrong with folding in two tabs. Solution: Update the cursor line height. (closes vim/vim#5353) https://github.com/vim/vim/commit/09dd2bb3364cc8fb5a8f2507bc2f4ceba481db3d
* | | | | | vim-patch:8.1.2405: matchadd_conceal test fails under valgrindJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: matchadd_conceal test fails under valgrind. Solution: Use WaitForAssert() and wait a bit longer. https://github.com/vim/vim/commit/1f9a028def327bd9bbfef375cb1283cd51e04678
* | | | | | vim-patch:8.1.2303: cursor in wrong position after horizontal scrollJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor in wrong position after horizontal scroll. Solution: Set w_valid_leftcol. (closes vim/vim#5214, closes vim/vim#5224) https://github.com/vim/vim/commit/08f23636aef595f4cc061dfee8248dca97df16b3
* | | | | | vim-patch:8.1.2294: cursor pos wrong with concealing and search causes a scrollJan Edmund Lazo2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cursor position wrong when characters are concealed and asearch causes a scroll. Solution: Fix the cursor column in a concealed line after window scroll. (closes vim/vim#5215, closes vim/vim#5012) https://github.com/vim/vim/commit/cbee635eee3007db97646ddb9f211a1d4966eb2a
* | | | | | vim-patch:8.1.1717: last char in menu popup window highlightedJan Edmund Lazo2020-10-08
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Last char in menu popup window highlighted. Solution: Do not highlight an extra character twice. https://github.com/vim/vim/commit/f914a33c9c8ec5c30da684a4a16edad3e0224f0a N/A patches for version.c: vim-patch:8.1.0746: highlighting not updated with conceal and 'cursorline' Problem: Highlighting not updated with conceal and 'cursorline'. (Jason Franklin) Solution: Do not use a zero line number. Check if 'conceallevel' is set for the current window. https://github.com/vim/vim/commit/bbee8d5122b159683b3f52eddd0da85fcf1fcbfd
* | | | | Merge pull request #13029 from aufarg/vim-8.2.1345Jan Edmund Lazo2020-10-07
|\ \ \ \ \ | | | | | | | | | | | | [RDY] vim-patch:8.2.{1345,1488}
| * | | | | vim-patch:8.2.1488: text does not scroll when inserting above first lineAufar Gilbran2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Text does not scroll when inserting above first line. Solution: Adjust off-by-one error. (Ken Takata, closes vim/vim#6739) https://github.com/vim/vim/commit/9dc1917f42b23277e143fc58bbe27482b0b76bad
| * | | | | vim-patch:8.2.1345: Redraw error when using visual block and scrollAufar Gilbran2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Redraw error when using visual block and scroll. Solution: Add check for w_topline. ( closes vim/vim#6597) https://github.com/vim/vim/commit/f8992d47cd50494c64bb733329067c9de3c75200
* | | | | | vim-patch:8.2.1599: missing line end when skipping a long line with :cgetfileJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Missing line end when skipping a long line with :cgetfile. Solution: Fix off-by-one error. (closes vim/vim#6870) https://github.com/vim/vim/commit/59941cbd8035415d68683edc4e571306b10669ad
* | | | | | vim-patch:8.1.1705: using ~{} for a literal dict is not niceJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using ~{} for a literal dict is not nice. Solution: Use #{} instead. https://github.com/vim/vim/commit/4c6d90458baae843463f930fdc3fe4a7a2191d27
* | | | | | vim-patch:8.1.1692: using *{} for literal dict is not backwards compatibleJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using *{} for literal dict is not backwards compatible. (Yasuhiro Matsumoto) Solution: Use ~{} instead. https://github.com/vim/vim/commit/b8be54dcc517c9d57b62409945b7d4b90b6c3071
* | | | | | vim-patch:8.1.1686: "*" of "*{" is recognized as multipy operatorJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "*" of "*{" is recognized as multipy operator. (Yasuhiro Matsumoto) Solution: Check for the "{". https://github.com/vim/vim/commit/2898ebb44cee62a70a11b44a97bdad8cc00157b1
* | | | | | vim-patch:8.1.1683: dictionary with string keys is longer than neededJan Edmund Lazo2020-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Dictionary with string keys is longer than needed. Solution: Use *{key: val} for literaly keys. https://github.com/vim/vim/commit/d5abb4c87727eecb71b0e8ffdda60fc9598272f3 Vim's popup,textprop features are N/A. Neovim has not polyfilled their APIs. Skip docs and tests for these features.
* | | | | | vim-patch:8.1.2325: crash when using balloon with empty lineJan Edmund Lazo2020-10-06
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using balloon with empty line. Solution: Handle empty lines. (Markus Braun) https://github.com/vim/vim/commit/9ae862ebba4a8962cb1c6811a2a46656fa672599 Port Test_balloon_split() from patch 8.0.1318 for merging only. It won't run because of the function check.
* | | | | vim-patch:8.1.1624: when testing in the GUI may try to run gvim in a terminalJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When testing in the GUI may try to run gvim in a terminal. Solution: Add the -v argument. (Yee Cheng Chin, closes vim/vim#4605) Don't skip tests that work now. https://github.com/vim/vim/commit/0d702028feb859e6bde9a0c943d398d86294beb7
* | | | | vim-patch:8.1.1619: tests are not run with GUI on TravisJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Tests are not run with GUI on Travis. Solution: Add a testgui job. (Ozaki Kiichi, closes vim/vim#4609) https://github.com/vim/vim/commit/435f9f06cac02c1d2e5c52435d36e80f4ad2a8bd N/A patches for version.c: vim-patch:8.1.1771: options test fails on MS-Windows Problem: Options test fails on MS-Windows. Solution: Add correct and incorrect values for 'completeslash'. https://github.com/vim/vim/commit/d4404b4391a0cd3ab197e09bee7828c88882f6b2 vim-patch:8.1.2274: newlines in 'balloonexpr' result only work in the GUI Problem: Newlines in 'balloonexpr' result only work in the GUI. Solution: Also recognize newlines in the terminal. (closes vim/vim#5193) https://github.com/vim/vim/commit/d1c1c823892d0713065934256f48e7f4e6609f99 vim-patch:8.2.0554: the GUI doesn't set t_Co Problem: The GUI doesn't set t_Co. Solution: In the GUI set t_Co to 256 * 256 * 256. (closes vim/vim#5903) https://github.com/vim/vim/commit/acc770a10f65107131473ea2ab4ae5d429dfe172 vim-patch:8.2.1806: MS-Windows with Python: Vim freezes after import command Problem: MS-Windows with Python: Vim freezes after import command. Solution: Use either "NUL" or "CONIN$" when reopening stdin. (Yasuhiro Matsumoto, closes vim/vim#7083) https://github.com/vim/vim/commit/253b16a4abdad1df350b9ddd9a709520b063934c
* | | | | vim-patch:8.1.2401: :cexpr does not handle | in expressionJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :cexpr does not handle | in expression. Solution: Remove EX_TRLBAR and set nextcmd pointer. https://github.com/vim/vim/commit/88a3e2b2ac33e3bb4b7cf9132eb75db051e8f4ed
* | | | | vim-patch:8.1.2310: no proper test for directory changes in quickfixJan Edmund Lazo2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No proper test for directory changes in quickfix. Solution: Add a test that uses multiple directories. (Yegappan Lakshmanan, closes vim/vim#5230) https://github.com/vim/vim/commit/d8a8c4ca089eaaf7934c0f2b3be676df5a4c0248
* | | | | lua: vim.wait allows control of fast events (#13053)TJ DeVries2020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lua: vim.wait allows control of fast events * fixup: remove requirement of function for easier waiting * fixup: lint * fixup: bfredl comments
* | | | | Merge pull request #13054 from erw7/fix-msg-is-a-directory-on-WindowsThomas Vigouroux2020-10-06
|\ \ \ \ \ | | | | | | | | | | | | fileio: fix "is a directory" warning on Windows
| * | | | | fileio: fix "is a directory" warning on Windowserw72020-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The porting of vim/vim@c8fe645 by #13040 on Windows was incomplete. This fixes that and makes the "is a directory" warning appear properly on Windows as well.
* | | | | | Merge pull request #13042 from godlygeek/unmapped_meta_is_escJames McCoy2020-10-05
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | Treat unmapped ALT/META as ESC+c in all modes Closes #7972
| * | | | | Treat unmapped ALT/META as ESC+c in all modesMatt Wozniski2020-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In #8226 <A-x> and <M-x> were changed to behave like <Esc>x in insert mode when no mapping exists. This commit backs out that change and replaces it with a more general one that makes unmapped ALT and META keypresses as <Esc>+char in all modes. This fixes an unnecessary and confusing inconsistency between modes.