Change latex compilation, add py lngserv and fix some small things
This commit is contained in:
parent
646be7a0e9
commit
9a2b36a32c
|
@ -1 +1,3 @@
|
||||||
|
swap/
|
||||||
|
spell/
|
||||||
.netrwhist
|
.netrwhist
|
||||||
|
|
3
vimrc
3
vimrc
|
@ -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!
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue