summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-11-11 09:17:53 +0000
committerGitHub <noreply@github.com>2018-11-11 09:17:53 +0000
commitb96105bebb42c0b6323ba9a283e9cbbc99f68663 (patch)
tree619c326b4b61bdfad623da92b0f734261418c3db /doc
parent6858b4a2594abb2b7ee928c4a66f4760ae91933d (diff)
parentba9b056a57a605e1253b9f50e94074499bf808b4 (diff)
downloadale-b96105bebb42c0b6323ba9a283e9cbbc99f68663.zip
Merge pull request #2056 from luan/virtualtext
Add support for nvim's virtualtext on cursor
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index d619e526..5da95930 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -557,6 +557,7 @@ their relevant options.
* By setting error highlights. - |g:ale_set_highlights|
* By creating signs in the sign column. - |g:ale_set_signs|
* By echoing messages based on your cursor. - |g:ale_echo_cursor|
+* By inline text based on your cursor. - |g:ale_virtualtext_cursor|
* By displaying the preview based on your cursor. - |g:ale_cursor_detail|
* By showing balloons for your mouse cursor - |g:ale_set_balloons|
@@ -1873,6 +1874,41 @@ g:ale_use_global_executables *g:ale_use_global_executables*
options.
+g:ale_virtualtext_cursor *g:ale_virtualtext_cursor*
+
+ Type: |Number|
+ Default: `0`
+
+ When this option is set to `1`, a message will be shown when a cursor is
+ near a warning or error. ALE will attempt to find the warning or error at a
+ column nearest to the cursor when the cursor is resting on a line which
+ contains a warning or error. This option can be set to `0` to disable this
+ behavior.
+
+ Messages are only displayed after a short delay. See |g:ale_virtualtext_delay|.
+
+ Messages can be prefixed prefixed with a string. See |g:ale_virtualtext_prefix|.
+
+
+g:ale_virtualtext_delay *g:ale_virtualtext_delay*
+ *b:ale_virtualtext_delay*
+ Type: |Number|
+ Default: `10`
+
+ Given any integer, this option controls the number of milliseconds before
+ ALE will show a message for a problem near the cursor.
+
+ The value can be increased to decrease the amount of processing ALE will do
+ for files displaying a large number of problems.
+
+
+g:ale_virtualtext_prefix *g:ale_virtualtext_prefix*
+
+ Type: |String|
+ Default: `'> '`
+
+ Prefix to be used with |g:ale_virtualtext_cursor|.
+
g:ale_virtualenv_dir_names *g:ale_virtualenv_dir_names*
b:ale_virtualenv_dir_names *b:ale_virtualenv_dir_names*