diff options
Diffstat (limited to 'doc/ale.txt')
-rw-r--r-- | doc/ale.txt | 4 |
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' < |