Error in argument to find.
I installed this plugin and copy pasted the readme base config to my init.lua.
On starting I get this error:
```
Error detected while processing /Users/dino/.config/nvim/init.lua:
E5113: Error while calling lua chunk: ....local/share/nvim/lazy/profile.nvim/lua/profile/util.lua:29: b
ad argument #1 to 'find' (string expected, got table)
stack traceback:
[C]: in function 'find'
....local/share/nvim/lazy/profile.nvim/lua/profile/util.lua:29: in function 'startswith'
.../share/nvim/lazy/profile.nvim/lua/profile/instrument.lua:105: in function 'wrap_module'
.../share/nvim/lazy/profile.nvim/lua/profile/instrument.lua:189: in function 'instrument'
...dino/.local/share/nvim/lazy/profile.nvim/lua/profile.lua:21: in function 'instrument'
/Users/dino/.config/nvim/init.lua:14: in main chunk
Press ENTER or type command to continue
```
I'm invoking neovim like this: `NVIM_PROFILE=1 nvim` and running neovim 0.8.1 on a Mac.
关闭于 2023-12-01 1 条评论