diff --git a/.config/nvim/after/ftplugin/tex.vim b/.config/nvim/after/ftplugin/tex.vim index b588f9c..bcda2dd 100644 --- a/.config/nvim/after/ftplugin/tex.vim +++ b/.config/nvim/after/ftplugin/tex.vim @@ -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 diff --git a/.config/nvim/ftplugin/tex.vim b/.config/nvim/ftplugin/tex.vim new file mode 100644 index 0000000..866c49f --- /dev/null +++ b/.config/nvim/ftplugin/tex.vim @@ -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, + \} diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b5c8448..fae03cb 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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="" +let g:UltiSnipsJumpForwardTrigger="" +let g:UltiSnipsJumpBackwardTrigger="" + set encoding=utf-8 " Tab AutoComplete diff --git a/.config/nvim/spell/en.utf-8.add b/.config/nvim/spell/en.utf-8.add index 552de71..d193747 100644 --- a/.config/nvim/spell/en.utf-8.add +++ b/.config/nvim/spell/en.utf-8.add @@ -21,3 +21,4 @@ FFT Thévenin Thévenin's Thevenin +DT diff --git a/.config/nvim/spell/en.utf-8.add.spl b/.config/nvim/spell/en.utf-8.add.spl index 87e0f20..b2d6e76 100644 Binary files a/.config/nvim/spell/en.utf-8.add.spl and b/.config/nvim/spell/en.utf-8.add.spl differ