Skip to content

Commit adb2ee3

Browse files
committed
some fixes
1 parent c4a9e4a commit adb2ee3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

compiler/python.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
1313
command -nargs=* CompilerSet setlocal <args>
1414
endif
1515

16+
" Disable Python warnings
17+
if !exists('$PYTHONWARNINGS')
18+
let $PYTHONWARNINGS="ignore"
19+
endif
20+
1621
" For Flake8 first
1722
CompilerSet efm =%E%f:%l:\ could\ not\ compile,
1823
CompilerSet efm +=%-Z%p^,

plugin/env.vim renamed to plugin/virtualenv.vim

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
" Disable Python warnings
2-
if !exists('$PYTHONWARNINGS')
3-
let $PYTHONWARNINGS="ignore"
4-
endif
5-
61
if has('python')
72
py << EOF
83
import os

0 commit comments

Comments
 (0)