mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-13 16:38:57 +08:00
adds line highlights style (#436)
* adds line highlights style * adding doc for the new highlight styles. * missing space
This commit is contained in:
1 parent
4b0f3257dd
commit
ef5b900657
2 files changed
+5
-3
No files matched your search
@@ -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.
|
||||||
|
|||||||
+3
-1
@@ -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*
|
||||||
|
|||||||
Reference in new issue
Block a user