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
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"
使用分支为coc
打开init.lua报错信息:
Error detected while processing /home/corbettbain/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/corbettbain/.config/nvim/lua/core/init.lua:168: Vim(colorscheme):E5113: Error while calling lua chunk
: ...cker/start/catppuccin/lua/catppuccin/lib/highlighter.lua:11: bad argument #1 to 'ipairs' (table expected, got string)
stack traceback:
[C]: in function 'ipairs'
...cker/start/catppuccin/lua/catppuccin/lib/highlighter.lua:11: in function 'highlight'
...cker/start/catppuccin/lua/catppuccin/lib/highlighter.lua:22: in function 'syntax'
...cker/start/catppuccin/lua/catppuccin/lib/highlighter.lua:40: in function 'load'
...ite/pack/packer/start/catppuccin/lua/catppuccin/init.lua:27: in function 'load'
.../site/pack/packer/start/catppuccin/colors/catppuccin.lua:1: in main chunk
[C]: in function 'cmd'
/home/corbettbain/.config/nvim/lua/core/init.lua:168: in function 'load_core'
/home/corbettbain/.config/nvim/lua/core/init.lua:171: in main chunk
[C]: in function 'require'
/home/corbettbain/.config/nvim/init.lua:2: in main chunk
stack traceback:
[C]: in function 'cmd'
/home/corbettbain/.config/nvim/lua/core/init.lua:168: in function 'load_core'
/home/corbettbain/.config/nvim/lua/core/init.lua:171: in main chunk
[C]: in function 'require'
/home/corbettbain/.config/nvim/init.lua:2: in main chunk
The text was updated successfully, but these errors were encountered:
I personally wouldn't recommend using the coc branch. The native lsp of neovim (using main branch) is enough to provide similar experience while ensuring a good performance.
使用分支为coc
这是因为coc分支没有及时更新导致的。
bad argument 1 to 'ipairs' (table expected, got string)
NVIM v0.8.0-dev-877-g35653e6bc
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/corbettbain/myfiles/dev/projects/github/open-source/neovim/build/cmake.config -I/home/corbettbain/myfiles/dev/projects/github/open-source/neovim/src -I/home/corbettbain/myfiles/dev/projects/github/open-source/neovim/.deps/usr/include -I/usr/include -I/home/corbettbain/myfiles/dev/projects/github/open-source/neovim/build/src/nvim/auto -I/home/corbettbain/myfiles/dev/projects/github/open-source/neovim/build/include
Compiled by corbettbain@JingOS
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/share/nvim"
使用分支为coc
打开init.lua报错信息:
Error detected while processing /home/corbettbain/.config/nvim/init.lua:
E5113: Error while calling lua chunk: /home/corbettbain/.config/nvim/lua/core/init.lua:168: Vim(colorscheme):E5113: Error while calling lua chunk
: ...cker/start/catppuccin/lua/catppuccin/lib/highlighter.lua:11: bad argument #1 to 'ipairs' (table expected, got string)
stack traceback:
[C]: in function 'ipairs'
...cker/start/catppuccin/lua/catppuccin/lib/highlighter.lua:11: in function 'highlight'
...cker/start/catppuccin/lua/catppuccin/lib/highlighter.lua:22: in function 'syntax'
...cker/start/catppuccin/lua/catppuccin/lib/highlighter.lua:40: in function 'load'
...ite/pack/packer/start/catppuccin/lua/catppuccin/init.lua:27: in function 'load'
.../site/pack/packer/start/catppuccin/colors/catppuccin.lua:1: in main chunk
[C]: in function 'cmd'
/home/corbettbain/.config/nvim/lua/core/init.lua:168: in function 'load_core'
/home/corbettbain/.config/nvim/lua/core/init.lua:171: in main chunk
[C]: in function 'require'
/home/corbettbain/.config/nvim/init.lua:2: in main chunk
stack traceback:
[C]: in function 'cmd'
/home/corbettbain/.config/nvim/lua/core/init.lua:168: in function 'load_core'
/home/corbettbain/.config/nvim/lua/core/init.lua:171: in main chunk
[C]: in function 'require'
/home/corbettbain/.config/nvim/init.lua:2: in main chunk
The text was updated successfully, but these errors were encountered: