mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-01-30 22:57:54 +00:00
Update vimtex config to use LuaLaTeX by default
This commit is contained in:
parent
50a104bc27
commit
962932184e
16
vim/.vimrc
16
vim/.vimrc
@ -31,11 +31,24 @@ set conceallevel=1
|
||||
let g:tex_conceal='abdmg'
|
||||
let g:vimtex_compiler_latexmk = {
|
||||
\ 'options': [
|
||||
\ '-bibtex',
|
||||
\ '-shell-escape',
|
||||
\ '-verbose',
|
||||
\ '-file-line-error',
|
||||
\ ]
|
||||
\}
|
||||
|
||||
let g:vimtex_compiler_latexmk_engines = {
|
||||
\ '_' : '-lualatex',
|
||||
\ 'pdflatex' : '-pdf',
|
||||
\ 'dvipdfex' : '-pdfdvi',
|
||||
\ 'lualatex' : '-lualatex',
|
||||
\ 'xelatex' : '-xelatex',
|
||||
\ 'context (pdftex)' : '-pdf -pdflatex=texexec',
|
||||
\ 'context (luatex)' : '-pdf -pdflatex=context',
|
||||
\ 'context (xetex)' : '-pdf -pdflatex=''texexec --xtx''',
|
||||
\}
|
||||
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
|
||||
call plug#end()
|
||||
@ -53,6 +66,9 @@ set cursorline
|
||||
" set tab to enter spaces, instead
|
||||
set expandtab
|
||||
|
||||
" set entering tab to 4 spaces
|
||||
set shiftwidth=4 tabstop=4
|
||||
|
||||
" The template list is simply an array composed of vector that represents the
|
||||
" prefix and the suffix of the template file name
|
||||
let template_list = [
|
||||
|
Loading…
Reference in New Issue
Block a user