Mercurial > vim
view runtime/keymap/croatian.vim @ 19029:8aa4ba1f9345 v8.2.0075
patch 8.2.0075: Python 3 unicode test still sometimes fails
Commit: https://github.com/vim/vim/commit/2466aea508f22d44099d54ed6d15c0a1d90f8d6e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 1 17:09:11 2020 +0100
patch 8.2.0075: Python 3 unicode test still sometimes fails
Problem: Python 3 unicode test still sometimes fails.
Solution: Skip the test when 'termencoding' is not empty.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Jan 2020 17:15:03 +0100 |
parents | 18ee39301b82 |
children |
line wrap: on
line source
let s:encoding = &enc if s:encoding == 'latin1' if has("unix") let s:encoding = 'iso-8859-2' else let s:encoding = 'cp1250' endif endif if s:encoding == 'utf-8' source <sfile>:p:h/croatian_utf-8.vim elseif s:encoding == 'cp1250' source <sfile>:p:h/croatian_cp1250.vim else source <sfile>:p:h/croatian_iso-8859-2.vim endif