mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-02-07 06:18:59 +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:tex_conceal='abdmg'
|
||||||
let g:vimtex_compiler_latexmk = {
|
let g:vimtex_compiler_latexmk = {
|
||||||
\ 'options': [
|
\ 'options': [
|
||||||
|
\ '-bibtex',
|
||||||
\ '-shell-escape',
|
\ '-shell-escape',
|
||||||
\ '-verbose',
|
\ '-verbose',
|
||||||
\ '-file-line-error',
|
\ '-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'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
@ -53,6 +66,9 @@ set cursorline
|
|||||||
" set tab to enter spaces, instead
|
" set tab to enter spaces, instead
|
||||||
set expandtab
|
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
|
" The template list is simply an array composed of vector that represents the
|
||||||
" prefix and the suffix of the template file name
|
" prefix and the suffix of the template file name
|
||||||
let template_list = [
|
let template_list = [
|
||||||
|
Loading…
Reference in New Issue
Block a user