Mercurial > vim
view runtime/keymap/hebrew.vim @ 33065:3284c31289f5 v9.0.1820
patch 9.0.1820: Rexx files may not be recognised
Commit: https://github.com/vim/vim/commit/e06afb7860805537ccd69966bc03169852c9b378
Author: Doug Kearns <dougkearns@gmail.com>
Date: Tue Aug 29 22:21:35 2023 +0200
patch 9.0.1820: Rexx files may not be recognised
Problem: Rexx files may not be recognised
Solution: Add shebang detection and improve disambiguation of *.cls
files
closes: #12951
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 29 Aug 2023 22:30: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/hebrew_utf-8.vim elseif encoding == 'cp1255' source <sfile>:p:h/hebrew_cp1255.vim else source <sfile>:p:h/hebrew_iso-8859-8.vim endif