Mercurial > vim
view ci/if_ver-cmd.vim @ 28339:0860b12c5788 v8.2.4695
patch 8.2.4695: JSON encoding could be faster
Commit: https://github.com/vim/vim/commit/beb0ef1ab2dbd9760345e3e03647b93914591d56
Author: LemonBoy <thatlemon@gmail.com>
Date: Tue Apr 5 15:07:32 2022 +0100
patch 8.2.4695: JSON encoding could be faster
Problem: JSON encoding could be faster.
Solution: Optimize encoding JSON strings. (closes https://github.com/vim/vim/issues/10086)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 05 Apr 2022 16: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>)