Mercurial > vim
view runtime/keymap/croatian.vim @ 29002:48d74a5822eb v8.2.5023
patch 8.2.5023: substitute overwrites allocated buffer
Commit: https://github.com/vim/vim/commit/338f1fc0ee3ca929387448fe464579d6113fa76a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 26 15:56:23 2022 +0100
patch 8.2.5023: substitute overwrites allocated buffer
Problem: Substitute overwrites allocated buffer.
Solution: Disallow undo when in a substitute command.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 26 May 2022 17:00:05 +0200 |
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