|
|
@ -30,6 +30,9 @@ augroup python |
|
|
|
au FileType python setlocal softtabstop=4 " when deleting characters, consider 4 spaces as a tab |
|
|
|
au FileType python setlocal softtabstop=4 " when deleting characters, consider 4 spaces as a tab |
|
|
|
au FileType python setlocal textwidth=79 " max line size |
|
|
|
au FileType python setlocal textwidth=79 " max line size |
|
|
|
au FileType python setlocal colorcolumn=80 " put a margin indicator |
|
|
|
au FileType python setlocal colorcolumn=80 " put a margin indicator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Shortcut to add pylint disables |
|
|
|
|
|
|
|
au FileType python iab pylint # pylint: disable |
|
|
|
augroup END |
|
|
|
augroup END |
|
|
|
" }}} |
|
|
|
" }}} |
|
|
|
|
|
|
|
|
|
|
@ -37,6 +40,7 @@ augroup END |
|
|
|
augroup csv |
|
|
|
augroup csv |
|
|
|
au FileType csv setlocal list " Display special characters, like tabs (for TSV files) |
|
|
|
au FileType csv setlocal list " Display special characters, like tabs (for TSV files) |
|
|
|
augroup END |
|
|
|
augroup END |
|
|
|
|
|
|
|
" }}} |
|
|
|
|
|
|
|
|
|
|
|
" Rust {{{ |
|
|
|
" Rust {{{ |
|
|
|
let g:rustfmt_autosave = 1 |
|
|
|
let g:rustfmt_autosave = 1 |
|
|
|