全新安装Neovim后打开部分Astro文件报错的问题求助
全新安装Neovim后打开部分Astro文件报错的问题求助
大家好,我刚在新系统上遇到了个棘手的问题,想过来请教下各位!
先说说我的环境:
- 系统:Sonoma 14.5
- Neovim版本:0.10.0(不管是用Homebrew安装的,还是直接下载的二进制包,都会出现同样的错误,而且我用的是空配置文件)
- 问题场景:我一共有4个Astro项目,但奇怪的是只有其中2个打开时会触发错误
我已经绞尽脑汁找了两天原因,可一点线索都没摸到...有没有大佬能给点排查方向或者解决建议呀?万分感谢!😊
以下是Homebrew安装版本触发的错误信息:
Error detected while processing BufReadPost Autocommands for "*": Error executing lua callback: ...rew/Cellar/neovim/0.10.0/share/nvim/runtime/filetype.lua:35: Error executing lua: ...rew/Cellar/neovim/0.10.0/share/nvim/runtime/filetype.lua:36: BufReadPost Autocommands for "*"..FileType Autocommands for "*"..function <SNR>1_LoadFTPlugin[20]..script /opt/homebrew/Cellar/neovim/0.10.0/share/nvim/runtime/ftplugin/astro.vim[163]..function <SNR>21_CollectPathsFromConfig, line 11: Vim(let):E474: Trailing comma: } } } stack traceback: [C]: in function 'nvim_cmd' ...rew/Cellar/neovim/0.10.0/share/nvim/runtime/filetype.lua:3...
备注:内容来源于stack exchange,提问作者JMarCal
相关产品推荐
相关产品推荐

