Fix command name

This commit is contained in:
Yasuhiro Matsumoto
2021-12-22 01:29:58 +09:00
committed by mattn
parent 0269e5f3d0
commit f60ff62ab0

View File

@@ -1,5 +1,5 @@
function! s:install_or_update() abort
let l:command = getline('.')[4:]
let l:command = substitute(getline('.'), '\[.\] \(\S\+\).*', '\1', '')
if empty(l:command)
return
endif
@@ -10,7 +10,7 @@ function! s:install_or_update() abort
endfunction
function! s:uninstall() abort
let l:command = getline('.')[4:]
let l:command = substitute(getline('.'), '\[.\] \(\S\+\).*', '\1', '')
if empty(l:command)
return
endif