From 072bea20ac530d031940069edfa458f503f1100e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Fri, 3 Dec 2021 10:28:22 +0100
Subject: vim: remove neomutt and enable default nerdcommenter mappings

---
 vim/ftplugin/python.vim | 2 +-
 vimrc                   | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim
index e50189d..3edc7b5 100644
--- a/vim/ftplugin/python.vim
+++ b/vim/ftplugin/python.vim
@@ -1,6 +1,6 @@
 setlocal colorcolumn=120
 setlocal textwidth=120
 
-let b:ale_linters = ['pylsp', 'pylint']
+let b:ale_linters = ['pylsp', 'pylint', 'mypy']
 let b:ale_fixers = ['isort', 'black', 'remove_trailing_lines', 'trim_whitespace']
 let g:ale_python_black_options = '-l 120'
diff --git a/vimrc b/vimrc
index 3378284..41268b0 100644
--- a/vimrc
+++ b/vimrc
@@ -36,7 +36,6 @@ Plugin 'dhruvasagar/vim-table-mode'
 Plugin 'editorconfig/editorconfig-vim'
 Plugin 'vim-scripts/iptables'
 Plugin 'nfnty/vim-nftables'
-Plugin 'neomutt/neomutt.vim'
 Plugin 'sirtaj/vim-openscad'
 Plugin 'tmhedberg/SimpylFold'
 Plugin 'fedorenchik/qt-support.vim'
@@ -185,6 +184,9 @@ endfunction
 setlocal spelllang=en_us
 map <F11> :call LangToggle()<cr>
 
+" NERDCommenter
+let g:NERDCreateDefaultMappings = 1
+
 " UltiSnips triggers
 let g:UltiSnipsExpandTrigger="<c-h>"
 let g:UltiSnipsJumpForwardTrigger="<c-j>"
-- 
cgit v1.2.3