File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2,20 +2,18 @@ if !exists('g:python_compiler_highlight_errors')
2
2
let g: python_compiler_highlight_errors = 0
3
3
endif
4
4
5
- if ! exists (' g:python_fixqflist ' )
5
+ if ! exists (' g:python_compiler_fixqflist ' )
6
6
let g: python_compiler_fixqflist = 1
7
7
endif
8
8
9
9
augroup python
10
10
au !
11
- " Show error message under cursor
12
- " for visual and insert mode
13
- if ! empty (' g:python_compiler_highlight_errors' )
11
+ if g: python_compiler_highlight_errors == 1
14
12
au CursorMoved * call python#utils#set_python_error ()
15
13
au BufEnter ,QuickFixCmdPost * call python#utils#highlight_python_error ()
16
14
endif
17
15
18
- if ! empty ( ' g:python_fixqflist ' )
16
+ if g: python_compiler_fixqflist == 1
19
17
au QuickFixCmdPost * call python#utils#fix_qflist ()
20
18
endif
21
19
You can’t perform that action at this time.
0 commit comments