I broke up with neovim....vim is my best friend now
This commit is contained in:
22
dot_vim/plugged/vimtex/test/test-syntax/common.vim
Normal file
22
dot_vim/plugged/vimtex/test/test-syntax/common.vim
Normal file
@@ -0,0 +1,22 @@
|
||||
set nocompatible
|
||||
let &rtp = '../..,' . &rtp
|
||||
filetype plugin on
|
||||
syntax enable
|
||||
|
||||
set nomore
|
||||
|
||||
nnoremap q :qall!<cr>
|
||||
|
||||
" Use a more colorful colorscheme
|
||||
colorscheme morning
|
||||
|
||||
function! SynNames()
|
||||
return join(vimtex#syntax#stack(), ' -> ')
|
||||
endfunction
|
||||
|
||||
if empty($INMAKE)
|
||||
augroup Testing
|
||||
autocmd!
|
||||
autocmd CursorMoved * echo SynNames()
|
||||
augroup END
|
||||
endif
|
||||
Reference in New Issue
Block a user