Update generated nvim config
This commit is contained in:
9
config/neovim/store/lazy-plugins/vimtex/ftdetect/cls.vim
Normal file
9
config/neovim/store/lazy-plugins/vimtex/ftdetect/cls.vim
Normal file
@ -0,0 +1,9 @@
|
||||
" VimTeX - LaTeX plugin for Vim
|
||||
"
|
||||
" Maintainer: Karl Yngve Lervåg
|
||||
" Email: karl.yngve@gmail.com
|
||||
"
|
||||
|
||||
if !get(g:, 'vimtex_enabled', 1) | finish | endif
|
||||
|
||||
autocmd BufRead,BufNewFile *.cls set filetype=tex
|
||||
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'
|
||||
@ -0,0 +1,9 @@
|
||||
" VimTeX - LaTeX plugin for Vim
|
||||
"
|
||||
" Maintainer: Karl Yngve Lervåg
|
||||
" Email: karl.yngve@gmail.com
|
||||
"
|
||||
|
||||
if !get(g:, 'vimtex_enabled', 1) | finish | endif
|
||||
|
||||
autocmd BufRead,BufNewFile *.tikz set filetype=tex
|
||||
Reference in New Issue
Block a user