Mercurial > vim
view ci/if_ver-cmd.vim @ 29119:eb383afb25ea v8.2.5080
patch 8.2.5080: when indenting gets out of hand it is hard to stop
Commit: https://github.com/vim/vim/commit/a7ac4c9c395d64059437e37045fa0ad5f9fecb0b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 12 21:11:03 2022 +0100
patch 8.2.5080: when indenting gets out of hand it is hard to stop
Problem: When indenting gets out of hand it is hard to stop.
Solution: When line gets too long set got_int.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Jun 2022 22:15:03 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)