summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2023-09-09 16:44:54 +0100
committerw0rp <devw0rp@gmail.com>2023-09-09 16:44:54 +0100
commit65f0fd0d6a27a76e9d2d1b8f0f720b6bbc950039 (patch)
tree419ef4a34e1ebc99425de71416b51d9eac733f59
parenta16f0604818fa9451432e946331427c7cbfc85be (diff)
downloadale-65f0fd0d6a27a76e9d2d1b8f0f720b6bbc950039.zip
#4442 - Use the same default signs as Neovim diagnostics
-rw-r--r--autoload/ale/sign.vim6
-rw-r--r--doc/ale.txt6
2 files changed, 6 insertions, 6 deletions
diff --git a/autoload/ale/sign.vim b/autoload/ale/sign.vim
index e043216f..15517bf8 100644
--- a/autoload/ale/sign.vim
+++ b/autoload/ale/sign.vim
@@ -9,11 +9,11 @@ let g:ale_max_signs = get(g:, 'ale_max_signs', -1)
" there are errors.
let g:ale_change_sign_column_color = get(g:, 'ale_change_sign_column_color', 0)
" These variables dictate what signs are used to indicate errors and warnings.
-let g:ale_sign_error = get(g:, 'ale_sign_error', '>>')
+let g:ale_sign_error = get(g:, 'ale_sign_error', 'E')
let g:ale_sign_style_error = get(g:, 'ale_sign_style_error', g:ale_sign_error)
-let g:ale_sign_warning = get(g:, 'ale_sign_warning', '--')
+let g:ale_sign_warning = get(g:, 'ale_sign_warning', 'W')
let g:ale_sign_style_warning = get(g:, 'ale_sign_style_warning', g:ale_sign_warning)
-let g:ale_sign_info = get(g:, 'ale_sign_info', g:ale_sign_warning)
+let g:ale_sign_info = get(g:, 'ale_sign_info', 'I')
let g:ale_sign_priority = get(g:, 'ale_sign_priority', 30)
" 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.
diff --git a/doc/ale.txt b/doc/ale.txt
index e3947d4e..d36d9d0b 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -2199,7 +2199,7 @@ g:ale_sign_column_always *g:ale_sign_column_always*
g:ale_sign_error *g:ale_sign_error*
Type: |String|
- Default: `'>>'`
+ Default: `'E'`
This setting has no effect when |g:ale_use_neovim_diagnostics_api| is `1`.
@@ -2209,7 +2209,7 @@ g:ale_sign_error *g:ale_sign_error*
g:ale_sign_info *g:ale_sign_info*
Type: |String|
- Default: `g:ale_sign_warning`
+ Default: `'I'`
This setting has no effect when |g:ale_use_neovim_diagnostics_api| is `1`.
@@ -2255,7 +2255,7 @@ g:ale_sign_offset *g:ale_sign_offset*
g:ale_sign_warning *g:ale_sign_warning*
Type: |String|
- Default: `'--'`
+ Default: `'W'`
This setting has no effect when |g:ale_use_neovim_diagnostics_api| is `1`.