summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Lu <stevenlu443@gmail.com>2017-03-31 11:22:25 -0700
committerw0rp <w0rp@users.noreply.github.com>2017-03-31 19:22:25 +0100
commitef5b900657a2e0ec127ec0129396c20f947cbf77 (patch)
treea850c7bf049ad95ef923f296f5928e61b2d3864f
parent4b0f3257ddf4303a00979cd1171dd449bd3b9ed5 (diff)
downloadale-ef5b900657a2e0ec127ec0129396c20f947cbf77.zip
adds line highlights style (#436)
* adds line highlights style * adding doc for the new highlight styles. * missing space
-rw-r--r--autoload/ale/sign.vim4
-rw-r--r--doc/ale.txt4
2 files changed, 5 insertions, 3 deletions
diff --git a/autoload/ale/sign.vim b/autoload/ale/sign.vim
index 0c4488b5..e002f584 100644
--- a/autoload/ale/sign.vim
+++ b/autoload/ale/sign.vim
@@ -14,9 +14,9 @@ endif
" Signs show up on the left for error markers.
execute 'sign define ALEErrorSign text=' . g:ale_sign_error
-\ . ' texthl=ALEErrorSign'
+\ . ' texthl=ALEErrorSign linehl=ALEErrorLine'
execute 'sign define ALEWarningSign text=' . g:ale_sign_warning
-\ . ' texthl=ALEWarningSign'
+\ . ' texthl=ALEWarningSign linehl=ALEWarningLine'
sign define ALEDummySign
" Read sign data for a buffer to a list of lines.
diff --git a/doc/ale.txt b/doc/ale.txt
index 8feb3eb8..198a0c7e 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -479,7 +479,9 @@ g:ale_set_signs *g:ale_set_signs*
signs marking where errors and warnings appear in the file. The
`ALEErrorSign` and `ALEWarningSign` highlight groups will be used to provide
highlighting for the signs. The text used for signs can be customised with
- the |g:ale_sign_error| and |g:ale_sign_warning| options.
+ the |g:ale_sign_error| and |g:ale_sign_warning| options. The `ALEErrorSign`
+ and `ALEWarningLine` highlight groups will be used to provide highlighting
+ for the lines that the signs reside on.
g:ale_sign_column_always *g:ale_sign_column_always*