Skip to content

Commit

Permalink
Disable floating_win title if the border is nil
Browse files Browse the repository at this point in the history
Close #983
  • Loading branch information
liuchengxu committed Jun 25, 2023
1 parent 96b48a7 commit 8be95f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/clap/floating_win.vim
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function! s:get_config_preview(height) abort
endif
endif

if has('nvim-0.9')
if has('nvim-0.9') && g:clap_popup_border !=? 'nil'
let opts = clap#preview#inject_title_opt(opts, opts.width)
endif

Expand Down

0 comments on commit 8be95f8

Please sign in to comment.