mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
Fix command name
This commit is contained in:
committed by
mattn
parent
0269e5f3d0
commit
f60ff62ab0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user