File: tex.vim

package info (click to toggle)
vim-vimtex 2.16-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,660 kB
  • sloc: makefile: 367; python: 103
file content (15 lines) | stat: -rw-r--r-- 435 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
" VimTeX - LaTeX plugin for Vim
"
" Maintainer: Karl Yngve LervÄg
" Email:      karl.yngve@gmail.com
"

if !get(g:, 'vimtex_enabled', 1)
      \ || get(g:, 'tex_flavor', 'latex') !=# 'latex'
  finish
endif

" For some reason, it seems the best way to ensure filetype "tex" is to just
" set the g:tex_flavor option. Overriding the autocmds or similar seems to make
" startup slower, for some unknown reason.
let g:tex_flavor = 'latex'