summaryrefslogtreecommitdiffstats
path: root/runtime/tutor/tutor.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-11-23 21:25:05 +0000
committerBram Moolenaar <Bram@vim.org>2005-11-23 21:25:05 +0000
commita5792f58905da28f0ab37e1c4c3cfd8171b2e602 (patch)
tree258ddcfde89bbf98b90d42dd6c297e1b22a20d09 /runtime/tutor/tutor.vim
parentaf289d333a2985051948a53d510fa345df1ddeb3 (diff)
updated for version 7.0158v7.0158
Diffstat (limited to 'runtime/tutor/tutor.vim')
-rw-r--r--runtime/tutor/tutor.vim11
1 files changed, 10 insertions, 1 deletions
diff --git a/runtime/tutor/tutor.vim b/runtime/tutor/tutor.vim
index 8621ae243c..29eda4c379 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: 2005 Mar 15
+" Last Change: 2005 Oct 16
" 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.
@@ -83,6 +83,15 @@ if s:ext =~? '\.pl'
endif
endif
+" The Turkish tutor is available in two encodings, guess which one to use
+if s:ext =~? '\.tr'
+ if &enc == "utf-8"
+ let s:ext = ".tr.utf-8"
+ elseif &enc == "iso-8859-9"
+ let s:ext = ".tr.iso9"
+ 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"