~dricottone/vim-mypy

ref: b62fca16d42857888ab6dc7a8ffcbab85f224fa9 vim-mypy/plugin/mypy.vim -rw-r--r-- 261 bytes
b62fca16 — dricottone Remove --fast-parser option 5 years ago
                                                                                
51867674 Integralist
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