From e0c4bcdb7b6dd5ceb2656664cd36597cb3756ff3 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Wed, 2 Oct 2019 18:55:30 +0300 Subject: [PATCH] vim: neomake: mypy --- .../vim/vim/+plugins/neomake/autoload/neomake/makers/ft/python.vim | 4 ++-- etc/soft/vim/vim/colors/PaperColor.vim | 2 +- etc/soft/vim/vimrc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etc/soft/vim/vim/+plugins/neomake/autoload/neomake/makers/ft/python.vim b/etc/soft/vim/vim/+plugins/neomake/autoload/neomake/makers/ft/python.vim index 33f9b5b..4099800 100644 --- a/etc/soft/vim/vim/+plugins/neomake/autoload/neomake/makers/ft/python.vim +++ b/etc/soft/vim/vim/+plugins/neomake/autoload/neomake/makers/ft/python.vim @@ -6,14 +6,14 @@ if !exists('s:compile_script') endif function! neomake#makers#ft#python#EnabledMakers() abort - let makers = ['python', 'frosted'] + let makers = ['pycodestyle', 'frosted'] if executable('pylama') call add(makers, 'pylama') else if executable('flake8') call add(makers, 'flake8') else - call extend(makers, ['pyflakes', 'pycodestyle', 'pydocstyle']) + call extend(makers, ['mypy', 'pyflakes', 'pydocstyle']) endif call add(makers, 'pylint') " Last because it is the slowest endif diff --git a/etc/soft/vim/vim/colors/PaperColor.vim b/etc/soft/vim/vim/colors/PaperColor.vim index 32025c6..00a0f9c 100644 --- a/etc/soft/vim/vim/colors/PaperColor.vim +++ b/etc/soft/vim/vim/colors/PaperColor.vim @@ -363,7 +363,7 @@ else " LIGHT VARIANT let s:cursorline = ['#e4e4e4', '254'] let s:cursorlinenr = ['#af0000', '124'] let s:cursorcolumn = ['#e4e4e4', '254'] - let s:error = ['#ffafdf', '218'] + let s:error = ['#ffafdf', 'red'] let s:matchparen = ['#c6c6c6', '251'] " Spelling: diff --git a/etc/soft/vim/vimrc b/etc/soft/vim/vimrc index c535a50..ad52ca3 100644 --- a/etc/soft/vim/vimrc +++ b/etc/soft/vim/vimrc @@ -785,7 +785,7 @@ let g:used_javascript_libs = 'jquery' " neomake {{{ " When writing a buffer (no delay). call neomake#configure#automake('w') -let g:neomake_open_list = 2 +" let g:neomake_open_list = 2 " }}} " }}}###########################################################################