-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump version to Vim 9.1.0448 and Nvim 0.10.0 #247
Conversation
In Neovim 0.10.0, `(default ...)` in `options.txt` is indented with spaces instead of tabs when it contains newlines.
Changes in 1470dcd are invalid, that version has been revised in the official version of v7. See: vim-denops/denops.vim#344
WalkthroughThis update introduces several enhancements across multiple scripts, focusing on version upgrades for VIM and NVIM, improvements in error handling, and modifications to parsing logic. Functionality is expanded with new features, streamlined options, and refined documentation to boost usability. The changes aim to enhance performance, clarity, and user experience while maintaining compatibility with existing systems. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant App
participant API
User->>App: Request to update settings
App->>API: Send new options
API-->>App: Acknowledge changes
App-->>User: Confirm update success
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (13)
function/vim/_generated.ts (11)
The function
test_garbagecollect_now
is still present in the codebase.Please ensure that all references to the
test_garbagecollect_now
function are removed or updated to prevent potential runtime errors.
function/_generated.ts
: The functiontest_garbagecollect_now
is still defined and referenced.Analysis chain
Line range hint
1-1
:
Verify the removal oftest_garbagecollect_now
.Ensure that all references to the
test_garbagecollect_now
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `test_garbagecollect_now` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'test_garbagecollect_now'Length of output: 86
Script:
#!/bin/bash # Description: Verify all references to the `test_garbagecollect_now` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg -A 5 $'test_garbagecollect_now'Length of output: 959
Ensure removal of
luaeval
function and references.The
luaeval
function and its references are still present in thefunction/_generated.ts
file. Please remove the following occurrences to prevent potential runtime errors:
function/_generated.ts: * See
lua-luaevalfor more details.
function/_generated.ts: * GetExpr()->luaeval()
function/_generated.ts:export function luaeval(denops: Denops, ...args: unknown[]): Promise<unknown> {
function/_generated.ts: return denops.call("luaeval", ...args);
Analysis chain
Line range hint
1-1
:
Verify the removal ofluaeval
.Ensure that all references to the
luaeval
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `luaeval` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'luaeval'Length of output: 70
Script:
#!/bin/bash # Description: Verify all references to the `luaeval` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type ts -A 5 luaevalLength of output: 1149
Verify the removal of
maplist
.The
maplist
function is still referenced multiple times in thefunction/_generated.ts
file. Ensure that all references to themaplist
function have been removed or updated to prevent runtime errors and maintain accurate documentation.
function/_generated.ts
: Multiple references tomaplist
found.Analysis chain
Line range hint
1-1
:
Verify the removal ofmaplist
.Ensure that all references to the
maplist
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `maplist` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'maplist'Length of output: 70
Script:
#!/bin/bash # Description: Verify all references to the `maplist` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --glob '*.ts' -A 5 $'maplist'Length of output: 3394
The
assert_equal
function is still present in the codebase.The search results indicate that the
assert_equal
function and its references are still present infunction/_generated.ts
. Please ensure that all instances of this function are fully removed if the intention was to eliminate it from the codebase.
function/_generated.ts
Analysis chain
Line range hint
1-1
:
Verify the removal ofassert_equal
.Ensure that all references to the
assert_equal
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `assert_equal` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'assert_equal'Length of output: 75
Script:
#!/bin/bash # Description: Verify all references to the `assert_equal` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type ts -A 5 $'assert_equal'Length of output: 3252
Issues Found:
The
slice
function is still being referenced in multiple files across the codebase. Removing the function fromfunction/_generated.ts
without addressing these references will likely result in runtime errors.
helper/expr_string.ts
function/_generated.ts
buffer/fileformat.ts
argument/opts.ts
argument/flags.ts
Please ensure that all references to the
slice
function are either removed or appropriately updated.Analysis chain
Line range hint
1-1
:
Verify the removal ofslice
.Ensure that all references to the
slice
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `slice` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'slice'Length of output: 68
Script:
#!/bin/bash # Description: Verify all references to the `slice` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type ts -A 5 $'slice'Length of output: 3232
Ensure all references to the
state
function are removed or updated.The
state
function is still referenced in multiple files. To prevent runtime errors, please update or remove the following references:
function/_generated.ts
function/various.ts
option/vim/_generated.ts
option/_generated.ts
option/nvim/_generated.ts
function/nvim/_generated.ts
function/cursor.ts
helper/echo.ts
Analysis chain
Line range hint
1-1
:
Verify the removal ofstate
.Ensure that all references to the
state
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `state` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'state'Length of output: 68
Script:
#!/bin/bash # Description: Verify all references to the `state` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --glob '*.ts' -A 5 $'state'Length of output: 12196
The
assert_false
function has not been fully removed.The
assert_false
function is still defined and referenced in thefunction/_generated.ts
file. Please ensure all instances of this function are removed or updated to prevent runtime errors.
function/_generated.ts
:
- Line with
call assert_false(1, 'command should have failed')
- Line with
GetResult()->assert_false()
- Function definition and export of
assert_false
Analysis chain
Line range hint
1-1
:
Verify the removal ofassert_false
.Ensure that all references to the
assert_false
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `assert_false` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'assert_false'Length of output: 75
Script:
#!/bin/bash # Description: Verify all references to the `assert_false` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg 'assert_false' --glob '*.ts' -A 5Length of output: 1166
The
swapfilelist
function is still present in the codebase.The function
swapfilelist
was expected to be removed, but it is still found in the following locations:
function/_generated.ts
: Multiple referencesPlease review and ensure that all references to the
swapfilelist
function are removed if it is intended to be deleted.Analysis chain
Line range hint
1-1
:
Verify the removal ofswapfilelist
.Ensure that all references to the
swapfilelist
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `swapfilelist` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'swapfilelist'Length of output: 75
Script:
#!/bin/bash # Description: Verify all references to the `swapfilelist` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type ts -A 5 $'swapfilelist'Length of output: 756
The
matchstrlist
function is still present in the codebase.The
matchstrlist
function has not been fully removed. It is still referenced and defined in thefunction/_generated.ts
file at the following locations:
- Lines showing usage examples and documentation.
- Lines defining and exporting the function.
Please ensure that all references to the
matchstrlist
function are removed or updated to prevent any inconsistencies.
Analysis chain
Line range hint
1-1
:
Verify the removal ofmatchstrlist
.Ensure that all references to the
matchstrlist
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `matchstrlist` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'matchstrlist'Length of output: 75
Script:
#!/bin/bash # Description: Verify all references to the `matchstrlist` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type ts -A 5 $'matchstrlist'Length of output: 1912
The
utf16idx
function has not been removed.The search results indicate that the
utf16idx
function is still present in thefunction/_generated.ts
file, including its definition and references in the documentation.
function/_generated.ts
: Multiple occurrences ofutf16idx
are found, including its function definition and documentation.Please ensure that all references to the
utf16idx
function are removed or updated to prevent any potential runtime errors.Analysis chain
Line range hint
1-1
:
Verify the removal ofutf16idx
.Ensure that all references to the
utf16idx
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `utf16idx` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'utf16idx'Length of output: 71
Script:
#!/bin/bash # Description: Verify all references to the `utf16idx` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg -A 5 $'utf16idx'Length of output: 2132
Script:
#!/bin/bash # Description: Verify all references to the `utf16idx` function have been removed or updated. # Test: Search for the function usage across the entire codebase. Expect: No occurrences of the old function. rg -A 5 $'utf16idx'Length of output: 2132
The
mapnew
function has not been removed.The
mapnew
function is still defined and referenced in the codebase, specifically infunction/_generated.ts
. Please review the following occurrences:
function/_generated.ts
:
- Lines mentioning
mapnew
in comments and function definitions.Please ensure that the removal of the
mapnew
function is correctly implemented if it is intended to be removed.Analysis chain
Line range hint
1-1
:
Verify the removal ofmapnew
.Ensure that all references to the
mapnew
function have been removed or updated to prevent runtime errors.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all references to the `mapnew` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type typescript -A 5 $'mapnew'Length of output: 69
Script:
#!/bin/bash # Description: Verify all references to the `mapnew` function have been removed or updated. # Test: Search for the function usage. Expect: No occurrences of the old function. rg --type ts -A 5 $'mapnew'Length of output: 1394
option/vim/_generated.ts (2)
Issues found: Incomplete removal of
smoothscroll
The removal of
smoothscroll
is incomplete, and there are still multiple references to it in the codebase that need to be addressed:
option/_generated.ts
: Lines 12803, 12805, 12809, 12812, 12815, 12819, 12822, 12825, 12829, 12832, and 12836.function/nvim/_generated.ts
: Line 3400.Please ensure these references are removed or updated to prevent any potential issues.
Analysis chain
Line range hint
1-1
:
Verify the impact of removingsmoothscroll
.The removal of
smoothscroll
might affect functionalities related to smooth scrolling. Ensure there are no dangling references or broken functionalities.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the removal of `smoothscroll`. # Test: Search for references to `smoothscroll`. Expect: No references found. rg --type typescript 'smoothscroll'Length of output: 70
Script:
#!/bin/bash # Description: Verify the removal of `smoothscroll`. # Test: Search for references to `smoothscroll`. Expect: No references found. rg --type ts 'smoothscroll'Length of output: 1017
Script:
#!/bin/bash # Description: List lines containing `smoothscroll` in the relevant files for detailed inspection. # List lines in `option/_generated.ts` rg --type ts 'smoothscroll' option/_generated.ts -n # List lines in `function/nvim/_generated.ts` rg --type ts 'smoothscroll' function/nvim/_generated.ts -nLength of output: 912
Issues found due to the removal of
winfixbuf
.The removal of
winfixbuf
fromoption/vim/_generated.ts
leaves several active references in the codebase, which could lead to broken functionalities related to window buffer pairing behavior. Please ensure that all references towinfixbuf
are appropriately handled before proceeding with its removal.
- References found in
option/_generated.ts
:
export const winfixbuf: LocalOption<boolean> = { ... }
- Functions using
winfixbuf
for getting, setting, and removing options.Analysis chain
Line range hint
1-1
:
Verify the impact of removingwinfixbuf
.The removal of
winfixbuf
might affect functionalities related to window buffer pairing behavior. Ensure there are no dangling references or broken functionalities.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the removal of `winfixbuf`. # Test: Search for references to `winfixbuf`. Expect: No references found. rg --type typescript 'winfixbuf'Length of output: 67
Script:
#!/bin/bash # Description: Verify the removal of `winfixbuf`. # Test: Search for references to `winfixbuf`. Expect: No references found. rg --type-add 'ts:*.ts' 'winfixbuf'Length of output: 1073
Script:
#!/bin/bash # Description: Verify the context of `winfixbuf` references. # Test: Check the context of `winfixbuf` references to see if they are commented out or still active. rg --type-add 'ts:*.ts' 'winfixbuf' -A 3 -B 3Length of output: 3236
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (15)
- .scripts/gen-function/gen-function.ts (1 hunks)
- .scripts/gen-function/parse.ts (1 hunks)
- .scripts/gen-option/gen-option.ts (3 hunks)
- .scripts/gen-option/parse.ts (3 hunks)
- .scripts/markdown.ts (1 hunks)
- .scripts/utils.ts (1 hunks)
- function/_generated.ts (14 hunks)
- function/common.ts (3 hunks)
- function/nvim/_generated.ts (115 hunks)
- function/nvim/nvim_open_win.ts (5 hunks)
- function/nvim/nvim_win_set_config.ts (1 hunks)
- function/vim/_generated.ts (9 hunks)
- option/_generated.ts (3 hunks)
- option/nvim/_generated.ts (13 hunks)
- option/vim/_generated.ts (2 hunks)
Files skipped from review due to trivial changes (2)
- .scripts/gen-function/gen-function.ts
- function/common.ts
Additional comments not posted (61)
function/nvim/nvim_win_set_config.ts (2)
6-7
: Documentation update improves clarity.The added note about not being able to move the last window in a tabpage is clear and helpful.
9-10
: Generalized documentation improves understanding.Changing "floating window" to "a window" broadens the context and improves clarity.
.scripts/utils.ts (1)
9-9
: Improved error handling.Checking the response status for 400 or higher ensures better error handling for unsuccessful HTTP requests.
.scripts/gen-option/gen-option.ts (2)
8-9
: Version updates.Updating VIM to 9.1.0448 and NVIM to 0.10.0 ensures compatibility with the latest features and fixes.
39-39
: Improved parsing logic.Concatenating help documents into a single string before parsing simplifies the logic and may improve performance.
.scripts/markdown.ts (2)
15-16
: Verify the necessity and future use of the_ft
capturing group.The regex pattern has been updated to include a named capturing group
(?<ft>\w*)
, but the captured group_ft
is currently not used in the callback function. Ensure that this change is necessary and consider utilizing or removing the_ft
group to avoid confusion.
16-18
: Verify the necessity and future use of the_ft
parameter.The
_ft
parameter is introduced in the callback function but is currently unused. Ensure that this change is necessary and consider utilizing or removing the_ft
parameter to avoid confusion..scripts/gen-option/parse.ts (4)
32-32
: LGTM! Improved error reporting withblock
property.The addition of the
block
property to theerrors
array enhances the error reporting mechanism by providing better context for debugging.
48-61
: LGTM! Enhanced error messages withblock
context.The updated error handling logic provides more informative error messages by including the relevant block of text associated with each parsing error, improving the debugging experience.
113-114
: LGTM! Improved regex pattern for multiline default values.The refined regex pattern for default values improves the robustness of the parsing logic by correctly handling multiline default values that are indented with either tabs or spaces.
Line range hint
113-119
:
LGTM! Enhanced parsing logic and error reporting.The updated
parseBlock
function includes the refined regex pattern for default values and the improved error handling logic, collectively enhancing the functionality of theparse
function..scripts/gen-function/parse.ts (2)
61-61
: LGTM! Improved error message format.The adjusted error message format enhances clarity in the output by clearly distinguishing the function name, improving the debugging experience.
63-65
: LGTM! Enhanced error context with block markers.The new console error statements provide better context by logging the content of the block being parsed, aiding in debugging by allowing developers to see the exact content that caused the failure.
function/nvim/nvim_open_win.ts (12)
4-25
: Documentation improvements are clear and accurate.The enhancements to the documentation provide clear instructions on the parameters and capabilities of the
nvim_open_win
function.
38-53
: Example section improvements are clear and effective.The enhanced examples provide clear and structured demonstrations of how to use the
nvim_open_win
function with various parameters.
Line range hint
54-175
:
Attributes section improvements are comprehensive and useful.The new parameters
footer
,fixed
, andhide
add flexibility and usability to thenvim_open_win
function.
Line range hint
176-183
:
Function declaration updates are accurate.The function declaration has been correctly updated to include the new parameters.
Line range hint
184-191
:
Interface updates are accurate.The interface
NvimOpenWinConfig
has been correctly updated to include the new parameters.
Line range hint
192-200
:
relative
parameter description updates are accurate.The description of the
relative
parameter has been correctly updated.
Line range hint
201-203
:
win
parameter description updates are accurate.The description of the
win
parameter has been correctly updated.
Line range hint
204-208
:
anchor
parameter description updates are accurate.The description of the
anchor
parameter has been correctly updated.
Line range hint
209-213
:
width
andheight
parameter description updates are accurate.The descriptions of the
width
andheight
parameters have been correctly updated.
Line range hint
214-221
:
bufpos
parameter description updates are accurate.The description of the
bufpos
parameter has been correctly updated.
Line range hint
222-226
:
focusable
parameter description updates are accurate.The description of the
focusable
parameter has been correctly updated.
Line range hint
227-230
:
external
parameter description updates are accurate.The description of the
external
parameter has been correctly updated.option/nvim/_generated.ts (7)
21-21
:channel
option documentation updates are accurate.The documentation for the
channel
option has been correctly updated.
Line range hint
102-116
:
inccommand
option documentation updates are accurate.The documentation for the
inccommand
option has been correctly updated.
155-156
:mousescroll
option documentation updates are accurate.The documentation for the
mousescroll
option has been correctly updated.
217-217
:pumblend
option documentation updates are accurate.The documentation for the
pumblend
option has been correctly updated.
248-248
:scrollback
option documentation updates are accurate.The documentation for the
scrollback
option has been correctly updated.
378-378
:shada
option documentation updates are accurate.The documentation for the
shada
option has been correctly updated.
604-633
: Addition oftermsync
option is well-implemented.The new
termsync
option is implemented correctly and consistently with other options.function/vim/_generated.ts (9)
Line range hint
1-1
:
Verify the removal offoreach
.Ensure that all references to the
foreach
function have been removed or updated to prevent runtime errors.
Line range hint
1-1
:
Verify the removal ofgetregion
.Ensure that all references to the
getregion
function have been removed or updated to prevent runtime errors.
Line range hint
1-1
:
Verify the removal ofassert_fails
.Ensure that all references to the
assert_fails
function have been removed or updated to prevent runtime errors.
Line range hint
1-1
:
Verify the removal ofmatchbufline
.Ensure that all references to the
matchbufline
function have been removed or updated to prevent runtime errors.
Line range hint
1-1
:
Verify the removal ofassert_beeps
.Ensure that all references to the
assert_beeps
function have been removed or updated to prevent runtime errors.
Line range hint
1-1
:
Verify the removal ofassert_equalfile
.Ensure that all references to the
assert_equalfile
function have been removed or updated to prevent runtime errors.
Line range hint
1-1
:
Verify the removal ofassert_exception
.Ensure that all references to the
assert_exception
function have been removed or updated to prevent runtime errors.
Line range hint
1-1
:
Verify the removal ofstrutf16len
.Ensure that all references to the
strutf16len
function have been removed or updated to prevent runtime errors.
Line range hint
1-1
:
Verify the removal ofassert_inrange
.Ensure that all references to the
assert_inrange
function have been removed or updated to prevent runtime errors.function/nvim/_generated.ts (3)
1573-1583
: Ensure proper error handling fornvim__complete_set
function.The function
nvim__complete_set
sets completion information. Ensure that proper error handling is implemented for invalidindex
oropts
values.
1750-1756
: Ensure proper validation fornvim__redraw
function parameters.The function
nvim__redraw
redraws various components. Ensure that proper validation is implemented for theopts
parameter to handle invalid values.
3621-3631
: Ensure proper validation fornvim__win_add_ns
function parameters.The function
nvim__win_add_ns
scopes a namespace to a window. Ensure that proper validation is implemented for thewindow
andns_id
parameters to handle invalid values.function/_generated.ts (14)
10066-10100
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
strutf16len
are correctly implemented.Verification successful
LGTM! But verify the function usage in the codebase.
The code changes are approved.
However, ensure that all function calls to
strutf16len
are correctly implemented.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function calls to `strutf16len` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type typescript -A 5 $'strutf16len'Length of output: 74
Script:
#!/bin/bash # Description: Verify all function calls to `strutf16len` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type ts -A 5 $'strutf16len'Length of output: 1331
2360-2409
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
foreach
are correctly implemented.Verification successful
The
foreach
function is only referenced within its own documentation and is not used elsewhere in the codebase.
- No additional usages of the
foreach
function were found.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function calls to `foreach` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type typescript -A 5 $'foreach'Length of output: 70
Script:
#!/bin/bash # Description: Verify all function calls to `foreach` are correctly implemented. # Test: Search for the function usage in TypeScript files. rg --glob '*.ts' -A 5 $'foreach'Length of output: 1174
12557-12591
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
assert_equal
are correctly implemented.
11225-11266
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
utf16idx
are correctly implemented.
5778-5842
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
matchbufline
are correctly implemented.
12522-12537
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
test_garbagecollect_now
are correctly implemented.
5178-5205
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
luaeval
are correctly implemented.
6074-6125
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
matchstrlist
are correctly implemented.Verification successful
Let's re-run the search for the
matchstrlist
function usage with the correct parameters.
No issues found regarding the function usage.
The function
matchstrlist
is currently not called anywhere else in the codebase apart from its documentation and definition.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function calls to `matchstrlist` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type typescript -A 5 $'matchstrlist'Length of output: 75
Script:
#!/bin/bash # Description: Verify all function calls to `matchstrlist` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg 'matchstrlist' -A 5Length of output: 1902
12539-12555
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
assert_beeps
are correctly implemented.
5426-5467
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
maplist
are correctly implemented.Verification successful
The
maplist
function is not used elsewhere in the codebase.The function is only referenced within the
function/_generated.ts
file, primarily in comments and documentation. No further verification is required at this time.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function calls to `maplist` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type typescript -A 5 $'maplist'Length of output: 70
Script:
#!/bin/bash # Description: Verify all function calls to `maplist` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --glob '*.ts' -A 5 $'maplist'Length of output: 3394
12644-12702
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
assert_fails
are correctly implemented.
12807-12889
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
assert_true
are correctly implemented.Verification successful
LGTM! But verify the function usage in the codebase.
The code changes are approved.
The
assert_true
function is not used elsewhere in the codebase, so there are no incorrect implementations or usages to address.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function calls to `assert_true` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type typescript -A 5 $'assert_true'Length of output: 74
Script:
#!/bin/bash # Description: Verify all function calls to `assert_true` are correctly implemented. # Test: Search for the function usage in all TypeScript files. rg 'assert_true' --glob '*.ts' -A 5Length of output: 613
5469-5482
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
mapnew
are correctly implemented.Verification successful
No usage of
mapnew
found in the codebase.The
mapnew
function is defined and documented correctly, but it is not currently used anywhere in the codebase. No implementation issues were found.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function calls to `mapnew` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type typescript -A 5 $'mapnew'Length of output: 69
Script:
#!/bin/bash # Description: Verify all function calls to `mapnew` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. ast-grep --lang typescript --pattern 'mapnew($_$$$)'Length of output: 54
Script:
#!/bin/bash # Description: Verify all function calls to `mapnew` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg 'mapnew'Length of output: 380
3582-3647
: LGTM! But verify the function usage in the codebase.The code changes are approved.
However, ensure that all function calls to
getregion
are correctly implemented.Verification successful
No issues found with the function usage in the codebase.
The
getregion
function is newly added and there are no current usages in the codebase. Ensure to verify the function calls when the function is utilized in the future.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify all function calls to `getregion` are correctly implemented. # Test: Search for the function usage. Expect: Only occurrences of the new implementation. rg --type typescript -A 5 $'getregion'Length of output: 72
Script:
#!/bin/bash # Description: Verify all function calls to `getregion` are correctly implemented. # Find all TypeScript files and search for the function usage within those files. fd --type f --extension ts --exec rg 'getregion' {}Length of output: 554
Script:
#!/bin/bash # Description: Verify all function calls to `getregion` are correctly implemented. # Find all TypeScript files and search for function calls to `getregion` within those files. fd --type f --extension ts --exec rg '\bgetregion\(' {}Length of output: 316
Script:
#!/bin/bash # Description: Verify all function calls to `getregion` are correctly implemented. # Search for all occurrences of `getregion` in the codebase, regardless of file type. rg 'getregion'Length of output: 815
option/_generated.ts (3)
2282-2282
: Approved: Documentation update forcomments
option.The update clarifies the usage of the
comments
option with comment plugins.
12792-12838
: Approved: Implementation and documentation ofsmoothscroll
option.The implementation follows the existing pattern for options and includes detailed documentation. The asynchronous methods are appropriate for efficient handling of option retrieval and modification.
16343-16387
: Approved: Implementation and documentation ofwinfixbuf
option.The implementation follows the existing pattern for options and includes detailed documentation. The asynchronous methods are appropriate for efficient handling of option retrieval and modification.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #247 +/- ##
=======================================
Coverage 81.30% 81.30%
=======================================
Files 55 55
Lines 2797 2797
Branches 228 228
=======================================
Hits 2274 2274
Misses 521 521
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Changes in 1470dcd are invalid, that version has been revised in the official version of v7.
vim-denops/denops.vim#344
This PR contains parser fixes for help format changes.
Summary by CodeRabbit
New Features
termsync
to improve terminal redraw performance.smoothscroll
andwinfixbuf
for enhanced scrolling and window management.Bug Fixes
Documentation