I broke up with neovim....vim is my best friend now
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
let g:vimtex_cache_root = '.'
|
||||
let g:vimtex_cache_persistent = 0
|
||||
|
||||
silent edit test1.tex
|
||||
|
||||
if empty($INMAKE) | finish | endif
|
||||
|
||||
" Candidates from \newenvironment
|
||||
let s:candidates = vimtex#test#completion('\begin{', 'test')
|
||||
call assert_equal(s:candidates[0].word, 'testnewenvironment')
|
||||
|
||||
" Candidates from package (align from amsmath)
|
||||
let s:candidates = vimtex#test#completion('\begin{', 'ali')
|
||||
call assert_equal(s:candidates[0].word, 'align')
|
||||
|
||||
call vimtex#test#finished()
|
||||
Reference in New Issue
Block a user