Browse Source

Abbreviations for Python

master
Julio Biason 4 years ago
parent
commit
ba582e3a5c
  1. 4
      nvim/init.vim
  2. 2
      nvim/pack/syntaxes/start/vim-polyglot

4
nvim/init.vim

@ -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 textwidth=79 " max line size
au FileType python setlocal colorcolumn=80 " put a margin indicator
" Shortcut to add pylint disables
au FileType python iab pylint # pylint: disable
augroup END
" }}}
@ -37,6 +40,7 @@ augroup END
augroup csv
au FileType csv setlocal list " Display special characters, like tabs (for TSV files)
augroup END
" }}}
" Rust {{{
let g:rustfmt_autosave = 1

2
nvim/pack/syntaxes/start/vim-polyglot

@ -1 +1 @@
Subproject commit 4314841aa4772d98b186636bdbf34fcf48c74275
Subproject commit a4b91124a8fea26575d08c1845e141520e7d33e2
Loading…
Cancel
Save