mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:00:05 +08:00
fix(vim): avoid E706
This commit is contained in:
parent
bd72cc5a2b
commit
161982a182
@ -340,9 +340,8 @@ function! s:open_task() abort
|
|||||||
if line =~# '^\[.*\]\s\+detected'
|
if line =~# '^\[.*\]\s\+detected'
|
||||||
let task = split(task, ':')[1]
|
let task = split(task, ':')[1]
|
||||||
endif
|
endif
|
||||||
let task = s:expand_task(s:task_config[task])
|
|
||||||
call SpaceVim#mapping#SmartClose()
|
call SpaceVim#mapping#SmartClose()
|
||||||
call SpaceVim#plugins#runner#run_task(task)
|
call SpaceVim#plugins#runner#run_task(s:expand_task(s:task_config[task]))
|
||||||
else
|
else
|
||||||
" not on a task
|
" not on a task
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user