annotate runtime/lang/menu_en_gb.latin1.vim @ 23037:4ba6c5eebb28
v8.2.2065
patch 8.2.2065: using map() and filter() on a range() is inefficient
Commit: https://github.com/vim/vim/commit/f8ca03bf9161ab9ee1a29db1d13c02b317c10029
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 28 20:32:29 2020 +0100
patch 8.2.2065: using map() and filter() on a range() is inefficient
Problem: Using map() and filter() on a range() is inefficient.
Solution: Do not materialize the range. (closes https://github.com/vim/vim/issues/7388)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sat, 28 Nov 2020 20:45:04 +0100 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 " Menu Translations: UK English
|
|
2 " Maintainer: Mike Williams <mrw@eandem.co.uk>
|
|
3 " Last Change: 2003 Feb 10
|
|
4
|
|
5 " Quit when menu translations have already been done.
|
|
6 if exists("did_menu_trans")
|
|
7 finish
|
|
8 endif
|
|
9 let did_menu_trans = 1
|
|
10
|
|
11 " Note: there is no "scriptencoding" command here, all encodings should be
|
|
12 " able to handle ascii characters without conversion.
|
|
13
|
|
14 " Convert from American to UK spellings.
|
|
15 menutrans C&olor\ Scheme C&olour\ Scheme
|
|
16 menutrans Co&lor\ test Co&lour\ test
|