Browse Source

vim: neomake: mypy

Maxim Likhachev 6 years ago
parent
commit
e0c4bcdb7b
  1. 4
      etc/soft/vim/vim/+plugins/neomake/autoload/neomake/makers/ft/python.vim
  2. 2
      etc/soft/vim/vim/colors/PaperColor.vim
  3. 2
      etc/soft/vim/vimrc

4
etc/soft/vim/vim/+plugins/neomake/autoload/neomake/makers/ft/python.vim

@ -6,14 +6,14 @@ if !exists('s:compile_script')
endif endif
function! neomake#makers#ft#python#EnabledMakers() abort function! neomake#makers#ft#python#EnabledMakers() abort
let makers = ['python', 'frosted'] let makers = ['pycodestyle', 'frosted']
if executable('pylama') if executable('pylama')
call add(makers, 'pylama') call add(makers, 'pylama')
else else
if executable('flake8') if executable('flake8')
call add(makers, 'flake8') call add(makers, 'flake8')
else else
call extend(makers, ['pyflakes', 'pycodestyle', 'pydocstyle']) call extend(makers, ['mypy', 'pyflakes', 'pydocstyle'])
endif endif
call add(makers, 'pylint') " Last because it is the slowest call add(makers, 'pylint') " Last because it is the slowest
endif endif

2
etc/soft/vim/vim/colors/PaperColor.vim

@ -363,7 +363,7 @@ else " LIGHT VARIANT
let s:cursorline = ['#e4e4e4', '254'] let s:cursorline = ['#e4e4e4', '254']
let s:cursorlinenr = ['#af0000', '124'] let s:cursorlinenr = ['#af0000', '124']
let s:cursorcolumn = ['#e4e4e4', '254'] let s:cursorcolumn = ['#e4e4e4', '254']
let s:error = ['#ffafdf', '218'] let s:error = ['#ffafdf', 'red']
let s:matchparen = ['#c6c6c6', '251'] let s:matchparen = ['#c6c6c6', '251']
" Spelling: " Spelling:

2
etc/soft/vim/vimrc

@ -785,7 +785,7 @@ let g:used_javascript_libs = 'jquery'
" neomake {{{ " neomake {{{
" When writing a buffer (no delay). " When writing a buffer (no delay).
call neomake#configure#automake('w') call neomake#configure#automake('w')
let g:neomake_open_list = 2 " let g:neomake_open_list = 2
" }}} " }}}
" }}}########################################################################### " }}}###########################################################################

Loading…
Cancel
Save