summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOskar Haarklou Veileborg <ohv1020@hotmail.com>2023-02-21 10:25:10 +0100
committerGitHub <noreply@github.com>2023-02-21 18:25:10 +0900
commitc8e914604963063b7bb827e9b6f5a6ca741dad60 (patch)
tree4270463100eadb5cdaf91abdec5a54bc01cb2fb6 /doc
parentc3f9bccb8c04b01d5d0712b8691658af0b0ddb16 (diff)
downloadale-c8e914604963063b7bb827e9b6f5a6ca741dad60.zip
Fix #3616, #3903 - Use proper floating window borders in neovim (#4417)
* Fix #3616, #3903 - Use proper floating window borders in neovim * Compatibility w. length 6/7 ale_floating_window_border values
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 986d8e25..066ba59e 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1252,10 +1252,12 @@ g:ale_floating_preview_popup_opts *g:ale_floating_preview_popup_opts*
For example, to enhance popups with a title: >
- function! CustomOpts() abort {
+ function! CustomOpts() abort
let [l:info, l:loc] = ale#util#FindItemAtCursor(bufnr(''))
return {'title': ' ALE: ' . (l:loc.linter_name) . ' '}
endfunction
+
+ let g:ale_floating_preview_popup_opts = 'g:CustomOpts'
<