mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 12:40:05 +08:00
21 lines
230 B
VimL
21 lines
230 B
VimL
|
function! s:test()
|
||
|
|
||
|
if l:x == 1
|
||
|
if l:y == "hello andy"
|
||
|
echom "hello andy" " CURSOR
|
||
|
endif
|
||
|
call one()
|
||
|
else
|
||
|
call two()
|
||
|
elseif
|
||
|
call three()
|
||
|
endif
|
||
|
|
||
|
let l:str = "hello"
|
||
|
|
||
|
return l:str
|
||
|
|
||
|
endfunction
|
||
|
|
||
|
|