parent
143377611d
commit
1d85bd7af2
@ -0,0 +1,26 @@
|
||||
" https://github.com/Konfekt/vim-compilers/blob/master/compiler/mypy.vim
|
||||
"
|
||||
" Maintainer: Enno Nagel
|
||||
" Email: enno.nagel+vim@gmail.com
|
||||
"
|
||||
" This is free and unencumbered software released into the public domain.
|
||||
"
|
||||
" Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
" distribute this software, either in source code form or as a compiled
|
||||
" binary, for any purpose, commercial or non-commercial, and by any
|
||||
" means.
|
||||
|
||||
if exists("current_compiler") | finish | endif
|
||||
let current_compiler = "mypy"
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
setlocal makeprg=mypy\ --show-column-numbers
|
||||
setlocal errorformat=%f:%l:%c:\ %t%*[^:]:\ %m
|
||||
|
||||
silent CompilerSet makeprg
|
||||
silent CompilerSet errorformat
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
Loading…
Reference in new issue