~dricottone/vim-mypy

ref: 4df7f702fd98518a239f1e2f802ea7507a8456a9 vim-mypy/plugin/mypy.vim -rw-r--r-- 261 bytes
4df7f702 — Integralist Update README 7 years ago
                                                                                
1
2
3
4
5
6
7
8
if !executable("mypy")
  echom "The mypy executable was not found in your runtime path"
else
  command! Mypy call mypy#ExecuteMyPy()

  " Following mapping is only applied to current buffer
  nnoremap <buffer> <localleader>mp :call mypy#ExecuteMyPy()<cr>
endif