From 1d76fd55a12e4036d95f8700872178d58e724b35 Mon Sep 17 00:00:00 2001 From: Yen3 Date: Mon, 1 Mar 2021 22:36:05 +0100 Subject: 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 --- doc/ale.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'doc') 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| -- cgit v1.2.3