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>
Problem: Using "gn" after "gN" does not work.
Solution: Extend the other end of the Visual area. (closesvim/vim#7109)
c07b7f701f
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, closesvim/vim#7113) Avoid warnings for functions.
efc0d94afc
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>
Problem: Cannot use address type "other" with with user command.
Solution: Add "other" to the list. (Daniel Hahler, closesvim/vim#3655) Also
reject "%" for commands with "other". Add some more tests.
51a7454cd2
Problem: "gN" does not select the matched string.
Solution: Move the cursor to the start of the match.
28f224b2c1
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. (closesvim/vim#7100)
820d55a50b
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,
closesvim/vim#7107)
bd6428b9e7
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, closesvim/vim#7106)
c6ed254d9f
vim-patch:8.2.1831: file missing from distribution
Problem: File missing from distribution.
Solution: Add the github code analyses file.
ef16c90423
Problem: Quickfix function arguments are inconsistent.
Solution: Pass a list pointer to more functions. (Yegappan Lakshmanan,
closesvim/vim#4149)
9afe5e9cc0
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, closesvim/vim#4113)
647e24ba3d
Problem: Cannot easily change the current quickfx list index.
Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan,
closesvim/vim#3701)
5b69c22fd2
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.
(closesvim/vim#5215, closesvim/vim#5012)
cbee635eee
Problem: Last char in menu popup window highlighted.
Solution: Do not highlight an extra character twice.
f914a33c9c
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.
bbee8d5122
Problem: Dictionary with string keys is longer than needed.
Solution: Use *{key: val} for literaly keys.
d5abb4c877
Vim's popup,textprop features are N/A.
Neovim has not polyfilled their APIs.
Skip docs and tests for these features.
Problem: Crash when using balloon with empty line.
Solution: Handle empty lines. (Markus Braun)
9ae862ebba
Port Test_balloon_split() from patch 8.0.1318 for merging only.
It won't run because of the function check.