Hi
Calling the following vim9 Foo() function gives an error:
E1027: Missing return statement
```
vim9script
def Foo(): string
try
return "foo"
catch
return "bar"
endtry
enddef
Foo()
```
IMO, this function should be fine, it should not cause a E1027 error.
I can work around by
I wrote:
> Patch 8.2.4065
> Problem:Computation overflow with large cound for :yank.
> Solution: Avoid an overflow.
> Files: src/ex_docmd.c, src/testdir/test_excmd.vim
s/cound/count/
--
Facepalm statement #8: "Drive faster, the petrol is running out"
/// Bram Moolenaar -- b...@m
Patch 8.2.4065
Problem:Computation overflow with large cound for :yank.
Solution: Avoid an overflow.
Files: src/ex_docmd.c, src/testdir/test_excmd.vim
*** ../vim-8.2.4064/src/ex_docmd.c 2022-01-08 16:19:18.501639918 +
--- src/ex_docmd.c 2022-01-11 19:32:00.245865281 +00
Maxim Kim wrote:
> Could you share your thoughts on when you think vim9 would be released (as
> you're closing vim9script it looks like this year for me).
>
> We would like to be ready with legacy colorschemes remake before vim9
> release happen.
>
> As of now all of them are remade with a c
Patch 8.2.4064
Problem:Foam files are not detected.
Solution: Detect the foam filetype by the path and file contents. (Mohammed
Elwardi Fadeli, closes #9501)
Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim,
src/testdir/test_filetype.vim
*** ../vim-8.
Hi,
On Tue, Jan 11, 2022 at 7:21 AM Evgeni Chasnovski
wrote:
> Steps to reproduce
>
> For :lcd:
>
>1. vim --clean
>2. :lcd .
>3. :botright new
>4. :verbose pwd
>
> For :tcd:
>
>1. vim --clean
>2. :tcd .
>3. :tabnew
>4. :verbose pwd
>
> Expected behaviour
>
> In bo
Yegappan wrote:
> Using the latest Vim, when I source the following script:
>
> -
> vim9script
>
> mkdir('Xtest/autoload', 'p')
>
> var lines =<< trim END
> vim9script
> import "./a.vim"
> def Xt
Patch 8.2.4063
Problem:Vim9: exported function in autoload script not found. (Yegappan
Lakshmanan)
Solution: Use the autoload prefix to search for the function.
Files: src/userfunc.c, src/testdir/test_vim9_import.vim
*** ../vim-8.2.4062/src/userfunc.c 2022-01-10 18:5
On Di, 11 Jan 2022, Thomas Köhler wrote:
> Actually, please let me know if any changes are required for
> koehler.vim or let me have a look at the new version if you
> already made those changes. I would take the opportunity to have
> a look into those changes (plus into any additional highlight
Hi all,
On Tue, Jan 11, 2022 at 12:42:28AM -0800, Maxim Kim wrote:
> Hi Bram,
>
> Could you share your thoughts on when you think vim9 would be released (as
> you're closing vim9script it looks like this year for me).
>
> We would like to be ready with legacy colorschemes remake before vim9
Patch 8.2.4062
Problem:Match highlighting of tab too short.
Solution: Do not stop match highlighting if on a Tab. (Christian Brabandt,
closes #9507, closes #9500)
Files: src/drawline.c, src/testdir/test_match.vim,
src/testdir/dumps/Test_match_tab_linebreak.dump
Patch 8.2.4061
Problem:Codecov bash script is deprecated.
Solution: Use the codecov action. (Ozaki Kiichi, closes #9505)
Files: .github/workflows/ci.yml
*** ../vim-8.2.4060/.github/workflows/ci.yml2021-12-25 11:20:00.237496694
+
--- .github/workflows/ci.yml2022-01-11 13:
Patch 8.2.4060
Problem:win_execute() is slow on systems where getcwd() or chdir() is
slow. (Rick Howe)
Solution: Avoid using getcwd() and chdir() if no local directory is used and
'acd' is not set. (closes #9504)
Files: src/evalwindow.c
*** ../vim-8.2.4059/src
Thanks, works for me.
вторник, 11 января 2022 г. в 14:59:43 UTC+3, Bram Moolenaar:
>
> Patch 8.2.4059
> Problem: Vim9: an expression of a map cannot access script-local items.
> (Maxim Kim)
> Solution: Use the script ID of where the map was defined.
> Files: src/getchar.c, src/map.c, src/proto/m
Patch 8.2.4059
Problem:Vim9: an expression of a map cannot access script-local items.
(Maxim Kim)
Solution: Use the script ID of where the map was defined.
Files: src/getchar.c, src/map.c, src/proto/map.pro,
src/testdir/test_vim9_import.vim
*** ../vim-8.2.4058
Hi Bram,
Could you share your thoughts on when you think vim9 would be released (as
you're closing vim9script it looks like this year for me).
We would like to be ready with legacy colorschemes remake before vim9
release happen.
As of now all of them are remade with a couple 'major' issues to
16 matches
Mail list logo