Mercurial > vim
view ci/if_ver-cmd.vim @ 32246:6e96bd314ffe v9.0.1454
patch 9.0.1454: code indenting is confused by macros
Commit: https://github.com/vim/vim/commit/7e5fe38efc105721400048a2ffdeddbe1b9c0650
Author: ichizok <gclient.gaap@gmail.com>
Date: Sat Apr 15 13:17:50 2023 +0100
patch 9.0.1454: code indenting is confused by macros
Problem: Code indenting is confused by macros.
Solution: Put semicolon after the macros instead of inside. (Ozaki Kiichi,
closes #12257)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Apr 2023 14:30:05 +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>)