jonahgoldwastaken / copilot-status.nvim

Simple Copilot status indicator for Neovim
MIT License
24 stars 0 forks source link

module 'copilot-status' not found #2

Closed lealjuanm closed 1 year ago

lealjuanm commented 1 year ago
Error detected while processing :source (no file):
E5108: Error executing lua [string ":source (no file)"]:1: module 'copilot-status' not found:
        no field package.preload['copilot-status']
        no file './copilot-status.lua'
        no file '/__w/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/copilot-status.lua'
        no file '/usr/local/share/lua/5.1/copilot-status.lua'
        no file '/usr/local/share/lua/5.1/copilot-status/init.lua'
        no file '/__w/neovim/neovim/.deps/usr/share/lua/5.1/copilot-status.lua'
        no file '/__w/neovim/neovim/.deps/usr/share/lua/5.1/copilot-status/init.lua'
        no file '/home/juan/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/copilot-status.lua'
        no file '/home/juan/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/copilot-status/init.lua'
        no file '/home/juan/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/copilot-status.lua'
        no file '/home/juan/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/copilot-status/init.lua'
        no file './copilot-status.so'
        no file '/usr/local/lib/lua/5.1/copilot-status.so'
        no file '/__w/neovim/neovim/.deps/usr/lib/lua/5.1/copilot-status.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file '/home/juan/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/copilot-status.so'
stack traceback:
        [C]: in function 'require'
        [string ":source (no file)"]:1: in main chunk
jonahgoldwastaken commented 1 year ago

Make sure lualine is loaded after copilot-status is loaded, by using the after key in your packer configuration