arnaucube
arnaucube/configsPublic Self-hosted repository
nvim add LaTeX configs
arnaucube root@arnaucube.com
Thu, 10 Feb 2022 20:02:49 +0100
commit

54dff44879ac9285850a9091513ac3566d88339d

parent

01db0d796756141ff5820593b7fa2359cd38afbf

2 files changed, 17 insertions(+), 2 deletions(-)

jump to
M init.vim → init.vim

@@ -51,6 +51,9 @@ Plug 'tomlion/vim-solidity'

" circom Plug 'iden3/vim-circom-syntax' +" LaTeX support. It needs latexmk & zathura +Plug 'lervag/vimtex' + " " " deoplete " Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }

@@ -192,6 +195,20 @@

"" circom syntax au BufRead,BufNewFile *.circom set filetype=circom au BufRead,BufNewFile *.circuit set filetype=go-snark-circuit + +"" LaTeX vimtex config: +" Important: This config needs latexmk & zathura to be installed. +" +" This is necessary for VimTeX to load properly. The "indent" is optional. +" Note that most plugin managers will do this automatically. +filetype plugin indent on +" This enables Vim's and neovim's syntax-related features. Without this, some +" VimTeX features will not work (see ":help vimtex-requirements" for more +" info). +syntax enable +" Viewer options: One may configure the viewer either by specifying a built-in +" viewer method: +let g:vimtex_view_method = 'zathura' "" sage syntax augroup filetypedetect
M install-new-server.sh → install-new-server.sh

@@ -19,8 +19,6 @@ # neovim

echo "installing neovim" # alternative: apt-get install python3-neovim apt-get -y install neovim -curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ - https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim echo "setting nvim config" mkdir ~/.config