Bram Moolenaar | d8b0273 | 2005-01-14 21:48:43 +0000 | [diff] [blame] | 1 | " Polish letters under VIM >= 6 |
| 2 | " Maintainer: HS6_06 <hs6_06@o2.pl> |
| 3 | " Last changed: 2005 Jan 12 |
| 4 | " Current version: 1.0.2 |
Bram Moolenaar | c9b4b05 | 2006-04-30 18:54:39 +0000 | [diff] [blame] | 5 | " History: |
Bram Moolenaar | d8b0273 | 2005-01-14 21:48:43 +0000 | [diff] [blame] | 6 | " 2005.01.12 1.0.2 keymap_name shortened, added Current version, History |
| 7 | " 2005.01.10 1.0.1 un*x line ends for all files |
| 8 | " 2005.01.09 1.0.0 Initial release |
| 9 | |
Bram Moolenaar | 2a41f3a | 2005-01-11 21:30:59 +0000 | [diff] [blame] | 10 | let encoding = &enc |
| 11 | if encoding == 'latin1' |
| 12 | if has("unix") |
| 13 | let encoding = 'iso-8859-2' |
| 14 | else |
| 15 | let encoding = 'cp1250' |
| 16 | endif |
| 17 | endif |
| 18 | |
| 19 | if encoding == 'utf-8' |
| 20 | source <sfile>:p:h/polish-slash_utf-8.vim |
| 21 | elseif encoding == 'cp1250' |
| 22 | source <sfile>:p:h/polish-slash_cp1250.vim |
| 23 | elseif encoding == 'iso-8859-2' |
| 24 | source <sfile>:p:h/polish-slash_iso-8859-2.vim |
| 25 | else |
| 26 | source <sfile>:p:h/polish-slash_cp852.vim |
| 27 | endif |