Update runtime files

This commit is contained in:
Bram Moolenaar
2020-06-14 17:29:55 +02:00
parent 8e20f75e58
commit 65e0d77a66
25 changed files with 629 additions and 232 deletions

View File

@ -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