49a294e830
subrepo: subdir: "dotfiles/.vim/plugged/coc.nvim" merged: "387b7850a" upstream: origin: "https://github.com/neoclide/coc.nvim.git" branch: "release" commit: "387b7850a" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
11 lines
216 B
VimL
11 lines
216 B
VimL
|
|
" support for float values
|
|
function! coc#math#min(first, ...) abort
|
|
let val = a:first
|
|
for i in range(0, len(a:000) - 1)
|
|
if a:000[i] < val
|
|
let val = a:000[i]
|
|
endif
|
|
endfor
|
|
return val
|
|
endfunction
|