diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-28 21:30:58 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-28 21:57:50 -0400 |
| commit | df2acdc3be807393ea8d61bb94c41d792388c0de (patch) | |
| tree | 6807f01a1794e3c0fe40371bd75661873b27461d /runtime/menu.vim | |
| parent | 565783be4b42ec8cf2d24543b7d501499c6a1091 (diff) | |
| download | rneovim-df2acdc3be807393ea8d61bb94c41d792388c0de.tar.gz rneovim-df2acdc3be807393ea8d61bb94c41d792388c0de.tar.bz2 rneovim-df2acdc3be807393ea8d61bb94c41d792388c0de.zip | |
vim-patch:65e0d77a66b7
Update runtime files
https://github.com/vim/vim/commit/65e0d77a66b7e50beb562ad554ace46c32ef8f0f
Omit usr_46.txt because of vim9.
Diffstat (limited to 'runtime/menu.vim')
| -rw-r--r-- | runtime/menu.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/menu.vim b/runtime/menu.vim index 40a397b73d..701dd33cdd 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -450,12 +450,12 @@ if has("spell") an 40.335.260 &Tools.&Spelling.Set\ Language\ to\ "en_us" :set spl=en_us spell<CR> an <silent> 40.335.270 &Tools.&Spelling.&Find\ More\ Languages :call <SID>SpellLang()<CR> - let s:undo_spellang = ['aun &Tools.&Spelling.&Find\ More\ Languages'] + let s:undo_spelllang = ['aun &Tools.&Spelling.&Find\ More\ Languages'] func! s:SpellLang() - for cmd in s:undo_spellang + for cmd in s:undo_spelllang exe "silent! " . cmd endfor - let s:undo_spellang = [] + let s:undo_spelllang = [] if &enc == "iso-8859-15" let enc = "latin1" @@ -478,7 +478,7 @@ if has("spell") let found += 1 let menuname = '&Tools.&Spelling.' . escape(g:menutrans_set_lang_to, "\\. \t|") . '\ "' . nm . '"' exe 'an 40.335.' . n . ' ' . menuname . ' :set spl=' . nm . ' spell<CR>' - let s:undo_spellang += ['aun ' . menuname] + let s:undo_spelllang += ['aun ' . menuname] endif let n += 10 endfor |