summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorYen3 <yen3rc@gmail.com>2021-03-01 22:36:05 +0100
committerGitHub <noreply@github.com>2021-03-01 21:36:05 +0000
commit1d76fd55a12e4036d95f8700872178d58e724b35 (patch)
treedac241a5c03b3bc5ba43e1fcd7dd5c886efd89a1 /doc/ale.txt
parent680ba68d815d772e6461e9ca8306822da64a48aa (diff)
downloadale-1d76fd55a12e4036d95f8700872178d58e724b35.zip
Add borders for floating windows in Neovim (#3603)
* Add borders for floating windows in Neovim * Add docs for floating window border setting Co-authored-by: w0rp <w0rp@users.noreply.github.com>
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 5376a16c..c87b05e2 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -653,7 +653,8 @@ Hover information can be displayed in the preview window instead by setting
|g:ale_hover_to_preview| to `1`.
When using Neovim, if |g:ale_hover_to_floating_preview| or |g:ale_floating_preview|
-is set to 1, the hover information will show in a floating window.
+is set to 1, the hover information will show in a floating window. And
+|g:ale_floating_window_border| for the border setting.
For Vim 8.1+ terminals, mouse hovering is disabled by default. Enabling
|balloonexpr| commands in terminals can cause scrolling issues in terminals,
@@ -1205,6 +1206,19 @@ g:ale_floating_preview *g:ale_floating_preview*
|g:ale_detail_to_floating_preview| to `1`.
+g:ale_floating_window_border *g:ale_floating_window_border*
+
+ Type: |List|
+ Default: `['|', '-', '+', '+', '+', '+']`
+
+ When set to `[]`, window borders are disabled. The elements in the list
+ set the horizontal, top, top-left, top-right, bottom-right
+ and bottom-left border characters, respectively.
+
+ If the terminal supports Unicode, you might try setting the value to
+ ` ['│', '─', '╭', '╮', '╯', '╰']`, to make it look nicer.
+
+
g:ale_history_enabled *g:ale_history_enabled*
Type: |Number|