You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 6, 2024. It is now read-only.
When loading certain filetypes on my machine, including .c and .tex, the following error appears in red when opening these files using neovim:
Error detected while processing BufNewFile Autocommands for "*":
E5108: Error executing lua vim/_editor.lua:341: BufNewFile Autocommands for "*"..script nvim_exec2() called at BufNewFile Autocommands for "*":0: Vim(call):E117: Unknown function: dist#ft#FTlpc
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua:341: in function 'cmd'
...ta/lazy/filetype.nvim/lua/filetype/mappings/function.lua:265: in function 'name'
...Local/nvim-data/lazy/filetype.nvim/lua/filetype/init.lua:17: in function 'set_filetype'
...Local/nvim-data/lazy/filetype.nvim/lua/filetype/init.lua:65: in function 'try_lookup'
...Local/nvim-data/lazy/filetype.nvim/lua/filetype/init.lua:168: in function 'resolve'
[string ":lua"]:1: in main chunk
Continuing past these errors disabled all treesitter highlighting in these filetypes. So far, deleting filetype.nvim from my lazy config was the only way to stop this error.