We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5475f1 commit 19291deCopy full SHA for 19291de
plugin/autocmd.vim
@@ -10,9 +10,13 @@ augroup python
10
au!
11
" Show error message under cursor
12
" for visual and insert mode
13
- au CursorMoved * call python#utils#set_python_error()
14
- au BufEnter,QuickFixCmdPost * call python#utils#highlight_python_error()
+ if !empty(g:python_compiler_highlight_errors)
+ au CursorMoved * call python#utils#set_python_error()
15
+ au BufEnter,QuickFixCmdPost * call python#utils#highlight_python_error()
16
+ endif
17
- au QuickFixCmdPost * call python#utils#fix_qflist()
18
+ if !empty(g:python_fixqflist)
19
+ au QuickFixCmdPost * call python#utils#fix_qflist()
20
21
22
augroup end
0 commit comments