Skip to content

Commit e73451e

Browse files
committed
update floating window requirement to has('popupwin')
instead of just a patch number
1 parent 466be8b commit e73451e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/nnn.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if !(exists("g:nnn#set_default_mappings"))
77
let g:nnn#set_default_mappings = 1
88
endif
99

10-
let g:nnn#has_floating_window_support = has('nvim-0.5') || has('patch-8.2.191')
10+
let g:nnn#has_floating_window_support = has('nvim-0.5') || has('popupwin')
1111

1212
if !(exists("g:nnn#layout"))
1313
if g:nnn#has_floating_window_support

0 commit comments

Comments
 (0)