From 9a2b36a32ca1ccb4d270100d6bd8da3b1e280dd4 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Tue, 20 Aug 2024 09:35:42 +0000 Subject: [PATCH] Change latex compilation, add py lngserv and fix some small things --- .gitignore | 2 ++ swap/.exist | 0 vimrc | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 swap/.exist diff --git a/.gitignore b/.gitignore index a0e76af..6ecdf4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +swap/ +spell/ .netrwhist diff --git a/swap/.exist b/swap/.exist new file mode 100644 index 0000000..e69de29 diff --git a/vimrc b/vimrc index c499a36..9eca8a7 100644 --- a/vimrc +++ b/vimrc @@ -35,6 +35,7 @@ let g:ale_fixers = { \ 'go': ['gofmt'], \ 'c': ['clang-format'], \ 'cpp': ['clang-format'], +\ 'py': ['pyright-langserver'], \} let g:ale_cpp_clangcheck_options = '--analyzer-output text' let g:ale_sign_error = 'E>' @@ -93,7 +94,7 @@ inoremap autocmd FileType yaml setlocal sw=8 sts=8 expandtab -autocmd FileType tex command! Comp execute 'silent !pdflatex %' redraw! +autocmd FileType tex command! Comp execute 'silent !pdflatex -interaction nonstopmode %' redraw! autocmd FileType less command! Comp execute 'silent !lessc % %:r.css' redraw! autocmd FileType tex command! Compdoc execute 'silent !pandoc -t docx % -o %:r.docx' redraw!