Skip to content

Commit c796528

Browse files
committed
Fix g:pymode_lint_signs and update requiremens
1 parent ed513e8 commit c796528

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Requirements
2525
============
2626

2727
- VIM >= 7.0 with python support
28+
(also `--with-features=big` if you want use g:pymode_lint_signs)
29+
2830

2931

3032
Installation

after/plugin/pymode_lint.vim

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@ call helpers#SafeVar("g:pymode_lint_minheight", 3)
2828
" OPTION: g:pymode_lint_maxheight -- int. Maximal height of pymode lint window
2929
call helpers#SafeVar("g:pymode_lint_maxheight", 6)
3030

31-
" DESC: Signs definition
32-
sign define W text=WW texthl=Todo
33-
sign define C text=CC texthl=Comment
34-
sign define R text=RR texthl=Visual
35-
sign define E text=EE texthl=Error
31+
if g:pymode_lint_signs
32+
33+
" DESC: Signs definition
34+
sign define W text=WW texthl=Todo
35+
sign define C text=CC texthl=Comment
36+
sign define R text=RR texthl=Visual
37+
sign define E text=EE texthl=Error
38+
39+
endif
3640

3741
" DESC: Set default pylint configuration
3842
if !filereadable(g:pymode_lint_config)

0 commit comments

Comments
 (0)