summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-05-20 23:32:41 +0100
committerw0rp <devw0rp@gmail.com>2017-05-20 23:32:41 +0100
commitf92bbab8cf22becfaf3188474afb10245b489843 (patch)
tree95abe059624aee88ca4ba7096fa07e88d2617f86 /plugin
parentbf8bf0668113a1c5a378f05050722967f88a273f (diff)
downloadale-f92bbab8cf22becfaf3188474afb10245b489843.zip
#149 - Support Info, style error, and style warning types for problems for signs
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index a1a86662..92c1562e 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -111,9 +111,12 @@ let g:ale_set_signs = get(g:, 'ale_set_signs', has('signs'))
" This flag can be set to 0 to disable setting error highlights.
let g:ale_set_highlights = get(g:, 'ale_set_highlights', has('syntax'))
-" These variables dicatate what sign is used to indicate errors and warnings.
-let g:ale_sign_error = get(g:, 'ale_sign_error', '>>')
-let g:ale_sign_warning = get(g:, 'ale_sign_warning', '--')
+" These variables dictate what sign is used to indicate errors and warnings.
+call ale#Set('sign_error', '>>')
+call ale#Set('sign_style_error', g:ale_sign_error)
+call ale#Set('sign_warning', '--')
+call ale#Set('sign_style_warning', g:ale_sign_warning)
+call ale#Set('sign_info', g:ale_sign_warning)
" This variable sets an offset which can be set for sign IDs.
" This ID can be changed depending on what IDs are set for other plugins.