summaryrefslogtreecommitdiffstats
path: root/runtime/tutor/tutor.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-09-13 20:26:32 +0000
committerBram Moolenaar <Bram@vim.org>2004-09-13 20:26:32 +0000
commitc0197e2815208269fa9ba2fba95230138ec39ceb (patch)
tree21db1c3acd16fb095a8e34ce2e15ed87275cbd79 /runtime/tutor/tutor.vim
parent15d0a8c77dad867b69822e2fd8f9f6bbcf765c48 (diff)
updated for version 7.0016v7.0016
Diffstat (limited to 'runtime/tutor/tutor.vim')
-rw-r--r--runtime/tutor/tutor.vim10
1 files changed, 7 insertions, 3 deletions
diff --git a/runtime/tutor/tutor.vim b/runtime/tutor/tutor.vim
index 0edbf61b82..754f3c0e9c 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: 2004 Jun 03
+" Last Change: 2004 Sep 06
" 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.
@@ -70,8 +70,12 @@ if s:ext =~? '\.zh'
endif
" The Polish tutor is available in two encodings, guess which one to use.
-if s:ext =~? '\.pl' && &enc =~ 1250
- let s:ext = ".pl.cp1250"
+if s:ext =~? '\.pl'
+ if &enc =~ 1250
+ let s:ext = ".pl.cp1250"
+ elseif &enc =~ "utf-8$"
+ let s:ext = ".pl.utf-8"
+ endif
endif
" The Greek tutor is available in two encodings, guess which one to use