I broke up with neovim....vim is my best friend now
This commit is contained in:
9
dot_vim/plugged/vimtex/ftdetect/cls.vim
Normal file
9
dot_vim/plugged/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
dot_vim/plugged/vimtex/ftdetect/tex.vim
Normal file
15
dot_vim/plugged/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'
|
||||
9
dot_vim/plugged/vimtex/ftdetect/tikz.vim
Normal file
9
dot_vim/plugged/vimtex/ftdetect/tikz.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 *.tikz set filetype=tex
|
||||
Reference in New Issue
Block a user