Error loading cosmic.config.editor
TkachovDmitriy opened this issue · comments
Faced this error
tell me what I'm doing wrong or what packages or files may be missing
/home/td/.config/nvim/lua/cosmic/init.lua:14: Error loading cosmic.core...
/home/td/.config/nvim/lua/cosmic/core/init.lua:13: Error loading cosmic.config.editor...
module 'cosmic.config.editor' not found:
no field package.preload['cosmic.config.editor']No cache entry
no file './cosmic/config/editor.lua'
no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/cosmic/config/editor.lua'
no file '/usr/local/share/lua/5.1/cosmic/config/editor.lua'
no file '/usr/local/share/lua/5.1/cosmic/config/editor/init.lua'
no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/cosmic/config/editor.lua'
no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/cosmic/config/editor/init.lua'
no file '/home/td/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cosmic/config/editor.lua'
no file '/home/td/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/cosmic/config/editor/init.lua'
no file '/home/td/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cosmic/config/editor.lua'
no file '/home/td/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/cosmic/config/editor/init.lua'
no file './cosmic/config/editor.so'
no file '/usr/local/lib/lua/5.1/cosmic/config/editor.so'
no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/cosmic/config/editor.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/home/td/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/cosmic/config/editor.so'
no file './cosmic.so'
no file '/usr/local/lib/lua/5.1/cosmic.so'
no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/cosmic.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/home/td/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/cosmic.so'
stack traceback:
[C]: in function 'error'
/home/td/.config/nvim/init.lua:16: in main chunk
Just copy the config examples using these commands:
cp ./lua/cosmic/config/examples/config.lua ./lua/cosmic/config/config.lua
cp ./lua/cosmic/config/examples/editor.lua ./lua/cosmic/config/editor.lua
@TkachovDmitriy @neiromaster This should be resolved now without the workaround. Thanks!