Skip to content

Commit 111db61

Browse files
fix: change chooser support check to explicitly filter for neovim (#56)
1 parent b2573b0 commit 111db61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/arduino/chooser.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ function! s:mk_fzf_callback(callback)
123123
endfunction
124124

125125
" telescope extension {{{1
126-
if !exists('g:arduino_telescope_enabled') && exists('*luaeval')
126+
if !exists('g:arduino_telescope_enabled') && has('nvim')
127127
let g:arduino_telescope_enabled = luaeval("pcall(require, 'telescope')")
128128
endif
129129

130130
" neovim vim.ui.select {{{1
131-
if !exists('g:arduino_nvim_select_enabled') && exists('*luaeval')
131+
if !exists('g:arduino_nvim_select_enabled') && has('nvim')
132132
let g:arduino_nvim_select_enabled = luaeval('(vim.ui and vim.ui.select) ~= nil')
133133
endif
134134

0 commit comments

Comments
 (0)