From ba582e3a5c6d321c816f0f3f4f9d6eca72345375 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Wed, 16 Sep 2020 10:33:05 -0300 Subject: [PATCH] Abbreviations for Python --- nvim/init.vim | 4 ++++ nvim/pack/syntaxes/start/vim-polyglot | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nvim/init.vim b/nvim/init.vim index c114dfc..0ef3e9b 100644 --- a/nvim/init.vim +++ b/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 diff --git a/nvim/pack/syntaxes/start/vim-polyglot b/nvim/pack/syntaxes/start/vim-polyglot index 4314841..a4b9112 160000 --- a/nvim/pack/syntaxes/start/vim-polyglot +++ b/nvim/pack/syntaxes/start/vim-polyglot @@ -1 +1 @@ -Subproject commit 4314841aa4772d98b186636bdbf34fcf48c74275 +Subproject commit a4b91124a8fea26575d08c1845e141520e7d33e2