Mercurial > vim
view runtime/keymap/hebrewp.vim @ 15042:e95e8b356a65 v8.1.0532
patch 8.1.0532: cannot distinguish between quickfix and location list
commit https://github.com/vim/vim/commit/2d67d307ee5dba911e8fbe73193bf596ebf76c1a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 16 18:46:02 2018 +0100
patch 8.1.0532: cannot distinguish between quickfix and location list
Problem: Cannot distinguish between quickfix and location list.
Solution: Add an explicit type variable. (Yegappan Lakshmanan)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 16 Nov 2018 19:00:04 +0100 |
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