Update generated nvim config
This commit is contained in:
15
config/neovim/store/lazy-plugins/vimtex/ftdetect/tex.vim
Normal file
15
config/neovim/store/lazy-plugins/vimtex/ftdetect/tex.vim
Normal file
@ -0,0 +1,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'
|
||||
Reference in New Issue
Block a user