summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-14 10:28:36 +0000
committerw0rp <devw0rp@gmail.com>2017-11-14 10:28:36 +0000
commit16e7dc2371f908204e5191c0e9d55626352097af (patch)
tree04e40db20efea0cf135728c40f658306c9d87cf6 /plugin
parentd8f9aef84a1271633cb4fc7ba7a063e4b922d56b (diff)
downloadale-16e7dc2371f908204e5191c0e9d55626352097af.zip
Fix #1069 Support formatting the loclist messages with g:ale_loclist_msg_format
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 26d3c43d..11df5204 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -149,7 +149,9 @@ let g:ale_sign_offset = get(g:, 'ale_sign_offset', 1000000)
let g:ale_sign_column_always = get(g:, 'ale_sign_column_always', 0)
" A string format for the echoed message
-let g:ale_echo_msg_format = get(g:, 'ale_echo_msg_format', '%code: %%s')
+call ale#Set('echo_msg_format', '%code: %%s')
+" The same for the loclist.
+call ale#Set('loclist_msg_format', g:ale_echo_msg_format)
" Strings used for severity in the echoed message
let g:ale_echo_msg_error_str = get(g:, 'ale_echo_msg_error_str', 'Error')