darkrc/vim/plugin/vimlevel.vim

5 lines
80 B
VimL

if exists("$VIM_LEVEL")
let $VIM_LEVEL=$VIM_LEVEL+1
else
let $VIM_LEVEL=1
end