Shougo
Shougo
An error occurs if there is a newline in the dictionary of the Vim9 script loaded in the hooks_file.
OH no.
An error occurs if there is a newline in the dictionary of the Vim9 script loaded in the hooks_file.
https://github.com/vim/vim/pull/12269 is needed.
An error occurs if there is a newline in the dictionary of the Vim9 script loaded in the hooks_file.
https://github.com/vim/vim/pull/12269 works. Please test.
> I think this is a nice addition. I think we should call it getline_region() so that it comes close to the description of the getline() function. Well, the rename...
I have fixed the bug and I have added basic visual mode tests. > However, we need tests here. Including testing what happens with invalid positions, multibyte character support, tab...
> This seems strange. line() returns only the line number, how is this different from getline({pos1}, {pos2}) ? That does exactly the same? Or not? The arguments are same with...
> With `:call cursor(1,1)`, how do we get the proper region for: `:norm! \jj` vs: `norm! \jj$` ? Don't we need to add an argument for the type of selection?...
I have added the visual block mode tests.
Oh, too many request here... Please wait. I need time to fix them.
> How about to add functionality to specify the way to get text such as charwise, linewise, and blockwise? For example, add a optional third argument in dictionary: Well, the...