annotate runtime/keymap/hebrew.vim @ 4354:c80838526eeb
v7.3.926
updated for version 7.3.926
Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter
on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of
events for :tablose and :tabnew.
Solution: Fix these autocommand events. (Zyx)
author |
Bram Moolenaar <bram@vim.org> |
date |
Mon, 06 May 2013 04:50:35 +0200 |
parents |
3fc0f57ecb91 |
children |
|
rev |
line source |
7
|
1 let encoding = &enc
|
|
2 if encoding == 'latin1'
|
|
3 if has("unix")
|
|
4 let encoding = 'iso-8859-8'
|
|
5 else
|
|
6 let encoding = 'cp1255'
|
|
7 endif
|
|
8 endif
|
|
9
|
|
10 if encoding == 'utf-8'
|
|
11 source <sfile>:p:h/hebrew_utf-8.vim
|
|
12 elseif encoding == 'cp1255'
|
|
13 source <sfile>:p:h/hebrew_cp1255.vim
|
|
14 else
|
|
15 source <sfile>:p:h/hebrew_iso-8859-8.vim
|
|
16 endif
|