~dricottone/vim-mypy

ref: 518676741fe729fc984d0258fd0f18a47f6fbe56 vim-mypy/plugin/mypy.vim -rw-r--r-- 261 bytes
51867674 — Integralist Setup 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