]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0994: Vim9: not able to use comment after opening curly brace v9.1.0994
authorYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 7 Jan 2025 19:22:32 +0000 (20:22 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 7 Jan 2025 19:22:32 +0000 (20:22 +0100)
commit0072ceedc66c4bc26c98d2e9bd81973bbe3f7f74
tree2e9bc26565f7dbea2b898826dd03fdf4100d0883
parentc97e8695353565d6b20adffa48aad47f6e09967f
patch 9.1.0994: Vim9: not able to use comment after opening curly brace

Problem:  Vim9: not able to use comment after opening curly brace
          (lifepillar)
Solution: allow to use comments after curly braces of an inner-block,
          modify the logic to search for comment in a line, update Vim9
          tests to use specific class type instead of any
          (Yegappan Lakshmanan)

fixes: #16363
closes: #16405

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_vim9_class.vim
src/testdir/test_vim9_func.vim
src/testdir/test_vim9_script.vim
src/userfunc.c
src/version.c