Mercurial > vim
comparison runtime/tutor/tutor.vim @ 18615:c4cdc715cb68
Update runtime files
Commit: https://github.com/vim/vim/commit/574ee7bc1246070dba598f9561a2776aa1a10d07
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 13 23:04:29 2019 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 Nov 2019 23:15:04 +0100 |
parents | 7688bff96a8c |
children | 71cbad0921c9 |
comparison
equal
deleted
inserted
replaced
18614:aa72fe337d7a | 18615:c4cdc715cb68 |
---|---|
1 " Vim tutor support file | 1 " Vim tutor support file |
2 " Author: Eduardo F. Amatria <eferna1@platea.pntic.mec.es> | 2 " Author: Eduardo F. Amatria <eferna1@platea.pntic.mec.es> |
3 " Maintainer: Bram Moolenaar | 3 " Maintainer: Bram Moolenaar |
4 " Last Change: 2019 Mar 30 | 4 " Last Change: 2019 Nov 11 |
5 | 5 |
6 " This Vim script is used for detecting if a translation of the | 6 " This Vim script is used for detecting if a translation of the |
7 " tutor file exist, i.e., a tutor.xx file, where xx is the language. | 7 " tutor file exist, i.e., a tutor.xx file, where xx is the language. |
8 " If the translation does not exist, or no extension is given, | 8 " If the translation does not exist, or no extension is given, |
9 " it defaults to the English version. | 9 " it defaults to the English version. |
106 endif | 106 endif |
107 endif | 107 endif |
108 | 108 |
109 " The Turkish tutor is available in two encodings, guess which one to use | 109 " The Turkish tutor is available in two encodings, guess which one to use |
110 if s:ext =~? '\.tr' | 110 if s:ext =~? '\.tr' |
111 if &enc == "iso-8859-9" | 111 if &enc == "iso-8859-9" || &enc == "cp1254" |
112 let s:ext = ".tr.iso9" | 112 let s:ext = ".tr.iso9" |
113 endif | 113 endif |
114 endif | 114 endif |
115 | 115 |
116 " The Greek tutor is available in three encodings, guess what to use. | 116 " The Greek tutor is available in three encodings, guess what to use. |