Files
dotfiles/dot_vim/plugged/vimtex/test/test-syntax/common.vim

23 lines
358 B
VimL

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