I broke up with neovim....vim is my best friend now
This commit is contained in:
15
dot_vim/plugged/vimtex/test/test-wordcount/test.vim
Normal file
15
dot_vim/plugged/vimtex/test/test-wordcount/test.vim
Normal file
@@ -0,0 +1,15 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
silent edit minimal.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
call assert_equal('50', vimtex#misc#wordcount())
|
||||
|
||||
call assert_equal('25', vimtex#misc#wordcount({'range': [4, 5]}))
|
||||
|
||||
call vimtex#test#finished()
|
||||
Reference in New Issue
Block a user