Mercurial > vim
view runtime/keymap/serbian.vim @ 16621:7ad3fc329e08 v8.1.1313
patch 8.1.1313: warnings for using localtime() and ctime()
commit https://github.com/vim/vim/commit/63d2555c9cefbbeeca3ec87fdd5d241e9488f9dd
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 10 21:28:38 2019 +0200
patch 8.1.1313: warnings for using localtime() and ctime()
Problem: Warnings for using localtime() and ctime().
Solution: Use localtime_r() if available. Avoid using ctime().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 10 May 2019 21:30:07 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-2' else let encoding = 'cp1250' endif endif if encoding == 'utf-8' source <sfile>:p:h/serbian_utf-8.vim elseif encoding == 'cp1250' source <sfile>:p:h/serbian_cp1250.vim elseif encoding == 'cp1251' source <sfile>:p:h/serbian_cp1251.vim elseif encoding == 'iso-8859-2' source <sfile>:p:h/serbian_iso-8859-2.vim else source <sfile>:p:h/serbian_iso-8859-5.vim endif