From 9f814a8ce9135e8c5f83ab4455f3310822a9d7b5 Mon Sep 17 00:00:00 2001 From: BlahGeek Date: Sun, 1 Sep 2019 21:03:54 +0800 Subject: 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 --- doc/ale.txt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/ale.txt b/doc/ale.txt index beca8546..7fa89243 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -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| -- cgit v1.2.3