Add g:ale_sign_highlight_linenr (#2678)

* add g:ale_sign_highlight_linenr
* Fix tests. Change option default value
* Rename ale_sign_highlight_linenr to ale_sign_highlight_linenrs
* Default ale_sign_highlight_linenrs to 0
This commit is contained in:
BlahGeek
2019-09-01 21:03:54 +08:00
committed by w0rp
parent 67ee2b9586
commit 9f814a8ce9
4 changed files with 18 additions and 3 deletions

View File

@@ -1437,8 +1437,9 @@ g:ale_set_signs *g:ale_set_signs*
|ALEWarningLine| - All items with `'type': 'W'`
|ALEInfoLine| - All items with `'type': 'I'`
With Neovim 0.3.2 or higher, ALE uses `numhl` option to highlight 'number'
column. It uses the following highlight groups.
With Neovim 0.3.2 or higher, ALE can use `numhl` option to highlight 'number'
column. It uses the following highlight groups. To enable this feature,
see |g:ale_sign_highlight_linenrs|.
|ALEErrorSignLineNr| - Items with `'type': 'E'`
|ALEWarningSignLineNr| - Items with `'type': 'W'`
@@ -1552,6 +1553,15 @@ g:ale_sign_warning *g:ale_sign_warning*
The sign for warnings in the sign gutter.
g:ale_sign_highlight_linenrs *g:ale_sign_highlight_linenrs*
Type: |Number|
Default: `0`
This option controls whether ALE should use `numhl` option to highlight 'number'
column in supported vim version.
g:ale_update_tagstack *g:ale_update_tagstack*
*b:ale_update_tagstack*
Type: |Number|