Fixed Latex config

main
zoomiti 4 years ago
parent 1b52c359fd
commit ae5a446f50

@ -1,32 +1 @@
set spell
let g:vimtex_compiler_latexmk = {
\ 'backend': 'nvim',
\ 'background' : 0,
\ 'build_dir' : 'latex_build',
\ 'continuous' : 1,
\ 'options' : [
\ '-pdfdvi',
\ '-pdflatex="xelatex -shell-escape %O %S"',
\ '-verbose',
\ '-file-line-error',
\ '-synctex=1',
\ '-interaction=nonstopmode',
\ ],
\}
let g:vimtex_view_method = 'zathura'
let g:vimtex_compiler_progname = 'nvr'
let g:tex_flavor = 'latex'
let g:tex_conceal='abdmg'
let g:vimtex_syntax_conceal = {
\ 'accents': 1,
\ 'cites': 1,
\ 'fancy': 1,
\ 'greek': 1,
\ 'math_bounds': 1,
\ 'math_delimiters': 1,
\ 'math_fracs': 1,
\ 'math_super_sub': 1,
\ 'math_symbols': 1,
\ 'sections': 1,
\ 'styles': 1,
\}
setlocal spell

@ -0,0 +1,31 @@
let g:vimtex_compiler_latexmk = {
\ 'backend': 'nvim',
\ 'background' : 0,
\ 'build_dir' : 'latex_build',
\ 'continuous' : 1,
\ 'options' : [
\ '-pdfdvi',
\ '-pdflatex="xelatex -shell-escape %O %S"',
\ '-verbose',
\ '-file-line-error',
\ '-synctex=1',
\ '-interaction=nonstopmode',
\ ],
\}
let g:vimtex_view_method = 'zathura'
let g:vimtex_compiler_progname = 'nvr'
let g:tex_flavor = 'latex'
let g:tex_conceal='abdmg'
let g:vimtex_syntax_conceal = {
\ 'accents': 1,
\ 'cites': 1,
\ 'fancy': 1,
\ 'greek': 1,
\ 'math_bounds': 1,
\ 'math_delimiters': 1,
\ 'math_fracs': 1,
\ 'math_super_sub': 1,
\ 'math_symbols': 1,
\ 'sections': 1,
\ 'styles': 1,
\}

@ -27,11 +27,17 @@ Plug 'andrewradev/switch.vim' " For Lean switch support
end
call plug#end()
" Conceal options
hi clear Conceal
set conceallevel=2
set concealcursor=n
" UltiSnips Config
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
set encoding=utf-8
" Tab AutoComplete

@ -21,3 +21,4 @@ FFT
Thévenin
Thévenin's
Thevenin
DT

Loading…