Closed Sami6720 closed 2 months ago
Thanks for the detailed report. Update your neovim to the latest stable version, v0.10, and the error should go away.
Thanks! Will update here if that doesn't work.
Hi @jmbuhr, I got this exact same error:
Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: /usr/share/nvim/runtime/filetype.lua:35: Error executing lua: /usr/share/nvim/runtime/filetype.lua:36: BufReadPost Auto
commands for "*"..FileType Autocommands for "*"..function <SNR>1_LoadFTPlugin[20]..script /home/estebanpc/.local/share/lunarvim/site/pack/lazy/opt/qu
arto-nvim/ftplugin/quarto.lua: Vim(runtime):E5113: Error while calling lua chunk: ...unarvim/site/pack/lazy/opt/otter.nvim/lua/otter/init.lua:157: In
valid 'group': 'lspconfig'
stack traceback:
[C]: in function 'nvim_get_autocmds'
...unarvim/site/pack/lazy/opt/otter.nvim/lua/otter/init.lua:157: in function 'activate'
...arvim/site/pack/lazy/opt/quarto-nvim/lua/quarto/init.lua:108: in function 'activate'
...arvim/site/pack/lazy/opt/quarto-nvim/ftplugin/quarto.lua:11: in main chunk
[C]: in function 'nvim_cmd'
/usr/share/nvim/runtime/filetype.lua:36: in function </usr/share/nvim/runtime/filetype.lua:35>
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
[C]: in function 'nvim_cmd'
/usr/share/nvim/runtime/filetype.lua:36: in function </usr/share/nvim/runtime/filetype.lua:35>
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>
stack traceback:
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>
Press ENTER or type command to continue
This is my nvim version:
nvim --version
NVIM v0.10.1
Build type: RelWithDebInfo
LuaJIT 2.1.1725453128
Run "nvim -V1 -v" for more info
I'm using it through lvim.
Try configuring otter.nvim to set_filetype
, which does not rely on nvim-lspconfig. See https://github.com/jmbuhr/otter.nvim?tab=readme-ov-file#configure-otter
It worked, thank you!! Why could this happen? My config is very minimal since I'm using lvim.
Your config may be, lvim isn't ;) Looks like they roll their own lsp activation autocommands instead of using lspconfig.
Error seen on Neovim. I am using
wsl
.My setup for Quarto in
init.lua
The contents of the
.qmd
file being opened.The error seen in
:messages
while opening the.qmd
file.