diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-09-10 11:24:31 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-09-10 11:24:31 +0000 |
commit | 45125098b3afbdee55ab90c5bf22ee99c7cc48ca (patch) | |
tree | ff4cbcd3bd82a4c3e29824f38bc139a977d5f5f2 /runtime/tutor/tutor.vim | |
parent | 55b7cf8ae2862ad4f6056bc911732af9a3b02985 (diff) |
updated for version 7.0-095v7.0.095
Diffstat (limited to 'runtime/tutor/tutor.vim')
-rw-r--r-- | runtime/tutor/tutor.vim | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/runtime/tutor/tutor.vim b/runtime/tutor/tutor.vim index 9770716f12..7c3ea50df5 100644 --- a/runtime/tutor/tutor.vim +++ b/runtime/tutor/tutor.vim @@ -1,6 +1,6 @@ " Vim tutor support file " Author: Eduardo F. Amatria <eferna1@platea.pntic.mec.es> -" Last Change: 2006 Sep 02 +" Last Change: 2006 Sep 09 " This small source file is used for detecting if a translation of the " tutor file exist, i.e., a tutor.xx file, where xx is the language. @@ -93,9 +93,16 @@ if s:ext =~? '\.tr' endif endif -" The Greek tutor is available in two encodings, guess which one to use -if s:ext =~? '\.gr' && &enc =~ 737 - let s:ext = ".gr.cp737" +" The Greek tutor is available in three encodings, guess what to use. +" We used ".gr" (Greece) instead of ".el" (Greek); accept both. +if s:ext =~? '\.gr\|\.el' + if &enc == "iso-8859-7" + let s:ext = ".gr" + elseif &enc == "utf-8" + let s:ext = ".gr.utf-8" + elseif &enc =~ 737 + let s:ext = ".gr.cp737" + endif endif " The Slovak tutor is available in two encodings, guess which one to use |