diff --git a/vimrc b/vimrc index 8d07636..e20ba7b 100644 --- a/vimrc +++ b/vimrc @@ -327,7 +327,7 @@ command! Closeall bufdo bdelete command! Context bufdo bdelete | e . command! Kontext Context command! -range=% Numbers , - \s/^/\=printf("%0".printf("%f", floor(log10()))."i", line("."))."\t"/ + \ s/^/\=printf("%0".float2nr(ceil(log10()))."i", line("."))."\t"/ \ | noh command! L lopen | set number | set norelativenumber