Mercurial > vim
view src/testdir/test_alot_latin.vim @ 23318:c76240efdf02 v8.2.2204
patch 8.2.2204: Vim9: using -> both for method and lambda is confusing
Commit: https://github.com/vim/vim/commit/65c4415276394c871c7a8711c7633c19ec9235b1
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 24 15:14:01 2020 +0100
patch 8.2.2204: Vim9: using -> both for method and lambda is confusing
Problem: Vim9: using -> both for method and lambda is confusing.
Solution: Use => for lambda in :def function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Dec 2020 15:15:05 +0100 |
parents | 318eaa6fa973 |
children |
line wrap: on
line source
" A series of tests that can run in one Vim invocation. " This makes testing go faster, since Vim doesn't need to restart. " These tests use latin1 'encoding'. Setting 'encoding' is in the individual " files, so that they can be run by themselves. source test_regexp_latin.vim