vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

hebrewp.vim (325B)


      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/hebrewp_utf-8.vim
     12 elseif encoding == 'cp1255'
     13 	source <sfile>:p:h/hebrewp_cp1255.vim
     14 else
     15 	source <sfile>:p:h/hebrewp_iso-8859-8.vim
     16 endif