1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 23:10:06 +08:00
SpaceVim/bundle/vim-over/test/autoload/over/command_line/substitute.vim
2022-06-10 16:31:14 +08:00

21 lines
479 B
VimL

function! s:test_restore_option()
let conceallevel = &conceallevel
let &conceallevel = 3
call over#command_line#do("%s/mado/mado\<Esc>")
echo &conceallevel
OwlCheck &conceallevel == 3
let &conceallevel = conceallevel
endfunction
function! s:test_setting_option()
let conceallevel = &conceallevel
let &conceallevel = 3
call over#command_line#do("set conceallevel=0\<CR>")
echo &conceallevel
OwlCheck &conceallevel == 0
let &conceallevel = conceallevel
endfunction