Mercurial > vim
view runtime/keymap/hebrewp.vim @ 13608:2a2b668cf24c v8.0.1676
patch 8.0.1676: no compiler warning for wrong printf format
commit https://github.com/vim/vim/commit/4ac2e8d8e60dcc7dbff662e177b86ccfbda7cd9e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 8 12:38:26 2018 +0200
patch 8.0.1676: no compiler warning for wrong printf format
Problem: No compiler warning for wrong printf format.
Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique
Pelle, closes #2789)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 08 Apr 2018 12:45:07 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
let encoding = &enc if encoding == 'latin1' if has("unix") let encoding = 'iso-8859-8' else let encoding = 'cp1255' endif endif if encoding == 'utf-8' source <sfile>:p:h/hebrewp_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrewp_cp1255.vim else source <sfile>:p:h/hebrewp_iso-8859-8.vim endif