dustinblackman / oatmeal

Terminal UI to chat with large language models (LLM) using different model backends, and integrations with your favourite editors!
https://dustinblackman.com/posts/oatmeal/
MIT License
477 stars 23 forks source link

ER5108 #50

Open Loungagna opened 6 months ago

Loungagna commented 6 months ago

In Nvim, using :Oatmeal, or trying to activate it via the default om setting, I get the following:

Error executing Lua callback: ...agna/.local/share/nvim/lazy/oatmeal.nvim/lua/oatmeal.lua:15: attempt to call field 'in_visual_mode' (a nil value)

If I'm in Visual Mode, same thing happen. :checkhealth does not show a conflict on om.

dustinblackman commented 5 months ago

Thanks for reporting!

First time I'm seeing that. What version of Neovim are you using?

Loungagna commented 5 months ago

`NVIM v0.9.5 Build type: RelWithDebInfo LuaJIT 2.1.1692716794 Compilation: /usr/bin/gcc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=auto -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DUSING_UV_SHARED=1 -I/usr/include/luajit-2.1 -I/usr/include -I/usr/include/luv -I/builddir/build/BUILD/neovim-0.9.5/redhat-linux-build/src/nvim/auto -I/builddir/build/BUILD/neovim-0.9.5/redhat-linux-build/include -I/builddir/build/BUILD/neovim-0.9.5/redhat-linux-build/cmake.config -I/builddir/build/BUILD/neovim-0.9.5/src -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim"`