Change latex compilation, add py lngserv and fix some small things

This commit is contained in:
Alex D. 2024-08-20 09:35:42 +00:00
parent 646be7a0e9
commit 9a2b36a32c
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
3 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
swap/
spell/
.netrwhist .netrwhist

0
swap/.exist Normal file
View File

3
vimrc
View File

@ -35,6 +35,7 @@ let g:ale_fixers = {
\ 'go': ['gofmt'], \ 'go': ['gofmt'],
\ 'c': ['clang-format'], \ 'c': ['clang-format'],
\ 'cpp': ['clang-format'], \ 'cpp': ['clang-format'],
\ 'py': ['pyright-langserver'],
\} \}
let g:ale_cpp_clangcheck_options = '--analyzer-output text' let g:ale_cpp_clangcheck_options = '--analyzer-output text'
let g:ale_sign_error = 'E>' let g:ale_sign_error = 'E>'
@ -93,7 +94,7 @@ inoremap <silent><s-tab> <Tab>
autocmd FileType yaml setlocal sw=8 sts=8 expandtab autocmd FileType yaml setlocal sw=8 sts=8 expandtab
autocmd FileType tex command! Comp execute 'silent !pdflatex %' <bar> redraw! autocmd FileType tex command! Comp execute 'silent !pdflatex -interaction nonstopmode %' <bar> redraw!
autocmd FileType less command! Comp execute 'silent !lessc % %:r.css' <bar> redraw! autocmd FileType less command! Comp execute 'silent !lessc % %:r.css' <bar> redraw!
autocmd FileType tex command! Compdoc execute 'silent !pandoc -t docx % -o %:r.docx' <bar> redraw! autocmd FileType tex command! Compdoc execute 'silent !pandoc -t docx % -o %:r.docx' <bar> redraw!