diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-14 17:29:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-14 17:29:55 +0200 |
commit | 65e0d77a66b7e50beb562ad554ace46c32ef8f0f (patch) | |
tree | 3755acc8d00557462fbb2b5970422fd2600acc12 /runtime/menu.vim | |
parent | 8e20f75e58f4879308b0011b468ef928a3f93085 (diff) |
Update runtime files
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 8400180aaa..60e956c08b 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -453,12 +453,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" @@ -481,7 +481,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 |