Added in python not adding new line after 80 chars

This commit is contained in:
Marcin Woźniak 2021-10-24 08:33:51 +02:00
parent 07bee7f172
commit d2b874ba46
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -260,6 +260,10 @@ map <Leader>, :CocAction<CR>
map <Leader><Tab> Vgaip= <CR>
nnoremap <leader>x :!chmod +x %<CR>
" Python
autocmd BufRead,BufNewFile *.py set textwidth=0
autocmd BufRead,BufNewFile *.py set fo-=t
" latex
let g:tex_flavor = "latex"
autocmd BufWritePost *.tex silent! execute "!pdflatex --shell-escape -synctex=1 -interaction=nonstopmode % > /dev/null " | redraw!