neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit b99f13385cfd15e161b18f103a5e36469f49431f
parent b97d2abb216477dddfca9ce74077d157045f22cf
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat,  6 May 2023 08:56:00 +0800

vim-patch:8.2.1746: Vim9: cannot use "fina" for "finally" (#23497)

Problem:    Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
Solution:   Specifically check for "fina". (closes vim/vim#7020)

https://github.com/vim/vim/commit/373863ed48c02b5df52574aa7d50aeecb1037d40

:final is N/A.

Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat:
Mtest/old/testdir/test_trycatch.vim | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/test/old/testdir/test_trycatch.vim b/test/old/testdir/test_trycatch.vim @@ -38,7 +38,7 @@ func T25_F() if loops == 2 try Xpath 'f' . loops - finally + final Xpath 'g' . loops endtry endif @@ -50,19 +50,20 @@ func T25_F() Xpath 'i' endfunc +" Also try using "fina" and "final" and "finall" as abbraviations. func T25_G() if 1 try Xpath 'A' call T25_F() Xpath 'B' - finally + fina Xpath 'C' endtry else try Xpath 'D' - finally + finall Xpath 'E' endtry endif