Mercurial > vim
view runtime/keymap/croatian.vim @ 32088:cdab211f342a v9.0.1375
patch 9.0.1375: crash when getting member of obj of unknown class
Commit: https://github.com/vim/vim/commit/f77a7f704ffd0ca1050e82f609c8b8bd61863277
Author: Ernie Rael <errael@raelity.com>
Date: Fri Mar 3 15:05:30 2023 +0000
patch 9.0.1375: crash when getting member of obj of unknown class
Problem: Crash when getting member of obj of unknown class.
Solution: Check for NULL class and give an error message. (Ernie Rael,
closes #12096)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 03 Mar 2023 16: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