danielfalk / smart-open.nvim

Neovim plugin for fast file-finding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when starting

lazywei opened this issue · comments

Below errors are thrown when I start the smart open through Telescope

Error executing vim.schedule lua callback: .../smart-open.nvim/lua/smart-open/util/priority_insert.lua:9: attempt to compare nil with number                                          
stack traceback:                                                                                                                                                                      
        .../smart-open.nvim/lua/smart-open/util/priority_insert.lua:9: in function 'priority_insert'                                                                                  
        ...m/lua/telescope/_extensions/smart_open/finder/finder.lua:94: in function ''                                                                                                
        vim/_editor.lua: in function <vim/_editor.lua:0>                                                                                                                              

Weird thing is this only happen for this specific CWD while in other projects it's working fine.

I'm on the 0.2.x branch

Sorry, didn't notice this until just now. I'll take a look

I think I fixed this. Thanks for putting in an issue. I pushed the changes up.