adds line highlights style (#436)

* adds line highlights style

* adding doc for the new highlight styles.

* missing space
This commit is contained in:
Steven Lu 2017-03-31 11:22:25 -07:00 committed by w0rp
parent 4b0f3257dd
commit ef5b900657
2 changed files with 5 additions and 3 deletions

View File

@ -14,9 +14,9 @@ endif
" Signs show up on the left for error markers. " Signs show up on the left for error markers.
execute 'sign define ALEErrorSign text=' . g:ale_sign_error execute 'sign define ALEErrorSign text=' . g:ale_sign_error
\ . ' texthl=ALEErrorSign' \ . ' texthl=ALEErrorSign linehl=ALEErrorLine'
execute 'sign define ALEWarningSign text=' . g:ale_sign_warning execute 'sign define ALEWarningSign text=' . g:ale_sign_warning
\ . ' texthl=ALEWarningSign' \ . ' texthl=ALEWarningSign linehl=ALEWarningLine'
sign define ALEDummySign sign define ALEDummySign
" Read sign data for a buffer to a list of lines. " Read sign data for a buffer to a list of lines.

View File

@ -479,7 +479,9 @@ g:ale_set_signs *g:ale_set_signs*
signs marking where errors and warnings appear in the file. The signs marking where errors and warnings appear in the file. The
`ALEErrorSign` and `ALEWarningSign` highlight groups will be used to provide `ALEErrorSign` and `ALEWarningSign` highlight groups will be used to provide
highlighting for the signs. The text used for signs can be customised with 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* g:ale_sign_column_always *g:ale_sign_column_always*