I broke up with neovim....vim is my best friend now
This commit is contained in:
25
dot_vim/plugged/vimtex/test/test-motions/test-method.vim
Normal file
25
dot_vim/plugged/vimtex/test/test-motions/test-method.vim
Normal file
@@ -0,0 +1,25 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
silent edit test-method.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
" vint: -ProhibitCommandRelyOnUser
|
||||
|
||||
normal 15G3[m
|
||||
call assert_equal(line('.'), 5)
|
||||
|
||||
normal 15G]m
|
||||
call assert_equal(line('.'), 21)
|
||||
|
||||
normal 15G[M
|
||||
call assert_equal(line('.'), 10)
|
||||
|
||||
normal 15G4]M
|
||||
call assert_equal(line('.'), line('$'))
|
||||
|
||||
call vimtex#test#finished()
|
||||
Reference in New Issue
Block a user