aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | | | Merge pull request #12953 from vigoux/tshl-custom-parserBjörn Linse2020-10-13
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | treesitter: various improvements to prepare for language injection
| * | | | | | | treesitter: allow multiple highlighters per bufferThomas Vigouroux2020-10-12
| | | | | | | |
| * | | | | | | 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>
* | | | | | | Merge pull request #13059 from vigoux/ts-runtime-queriesBjörn Linse2020-10-12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | treesitter: runtime queries
| * | | | | | | treesitter: runtime queriesThomas Vigouroux2020-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Runtime queries just work like ftplugins, that is: - Queries in the `after` directory are sourced _after_ the "base" query - Otherwise, the last define query takes precedence. Queries can be found in the `queries` directory. Update runtime/lua/vim/treesitter/query.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.
* | | | | | | | Merge pull request #13088 from janlazo/vim-8.2.1834Jan Edmund Lazo2020-10-12
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | vim-patch:8.2.{1834,1837}
| * | | | | | | | 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
* | | | | | | | Merge pull request #11318 from janlazo/vim-8.1.1201Jan Edmund Lazo2020-10-11
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | vim-patch:8.1.{560,1204,1206}
| * | | | | | | 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
* | | | | | | Merge pull request #13083 from janlazo/vim-8.1.1281Jan Edmund Lazo2020-10-11
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | vim-patch:8.1.{523,720,877,988,1015,1036},8.2.{1101,1820,1823,1829,1830,1831}
| * | | | | | 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
* | | | | | | Merge pull request #13081 from bfredl/usdt2Björn Linse2020-10-10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | basic support for usdt probes
| * | | | | | | 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.
* | | | | | | | Merge pull request #13074 from janlazo/vim-8.1.1717Jan Edmund Lazo2020-10-08
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | vim-patch:8.1.{746,1717,2294,2303,2405},8.2.0007
| * | | | | | | 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
* | | | | | | provider: update supported Python versions (#13070)Marco Hinz2020-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3.9 was released, so we need to add support for the upcoming Python 3.10. Python 3.5 and earlier reached their end-of-life. PEP 478: Python 3.5 Release Schedule: https://www.python.org/dev/peps/pep-0478 PEP 596: Python 3.9 Release Schedule: https://www.python.org/dev/peps/pep-0596 PEP 619: Python 3.10 Release Schedule: https://www.python.org/dev/peps/pep-0619
* | | | | | | 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
* | | | | | | | Merge pull request #13064 from janlazo/vim-8.1.2325Jan Edmund Lazo2020-10-07
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | vim-patch:8.1.{1683,1686,1692,1705,2325},8.2.1599
| * | | | | | | 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