summaryrefslogtreecommitdiff
path: root/plugin
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 /plugin
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 'plugin')
-rw-r--r--plugin/ale.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 540ba11b..7c79f261 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -150,6 +150,11 @@ let g:ale_hover_to_floating_preview = get(g:, 'ale_hover_to_floating_preview', 0
" Detail uses floating windows in Neovim
let g:ale_detail_to_floating_preview = get(g:, 'ale_detail_to_floating_preview', 0)
+" Border setting for floating preview windows in Neovim
+" The element in the list presents - horizontal, top, top-left, top-right,
+" bottom-right and bottom-left
+let g:ale_floating_window_border = get(g:, 'ale_floating_window_border', ['|', '-', '+', '+', '+', '+'])
+
" This flag can be set to 0 to disable warnings for trailing whitespace
let g:ale_warn_about_trailing_whitespace = get(g:, 'ale_warn_about_trailing_whitespace', 1)
" This flag can be set to 0 to disable warnings for trailing blank lines