Skip to content

Commit

Permalink
Add WhichKeyFloating highlight
Browse files Browse the repository at this point in the history
Close #58
  • Loading branch information
liuchengxu committed Jul 9, 2019
1 parent 3eac51d commit ccb656f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion autoload/which_key/window.vim
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ function! s:open_floating_win() abort
\ 'height': 120
\ })

if !hlexists('WhichKeyFloating')
hi default link WhichKeyFloating Pmenu
endif
if exists('&winhighlight')
setlocal winhighlight=Normal:Pmenu
setlocal winhighlight=Normal:WhichKeyFloating
endif
endfunction

Expand Down

0 comments on commit ccb656f

Please sign in to comment.