Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim starts with an error after installation #1

Closed
FledgeXu opened this issue Feb 13, 2024 · 3 comments
Closed

Vim starts with an error after installation #1

FledgeXu opened this issue Feb 13, 2024 · 3 comments

Comments

@FledgeXu
Copy link

nvim version:

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"

Run :checkhealth for more info

Config:

    {
        'jedrzejboczar/exrc.nvim',
        dependencies = { 'neovim/nvim-lspconfig' },     -- (optional)
        config = true,
        opts = { --[[ your config ]] },
    },

Error message:

Error detected while processing VimEnter Autocommands for "*":
Error executing lua callback: ...dge/.local/share/nvim/lazy/exrc.nvim/lua/exrc/loader.lua:230: attempt to call field 'joinpath' (a nil value)
stack traceback:
        ...dge/.local/share/nvim/lazy/exrc.nvim/lua/exrc/loader.lua:230: in function 'on_vim_enter'
        ...ledge/.local/share/nvim/lazy/exrc.nvim/lua/exrc/init.lua:82: in function <...ledge/.local/share/nvim/lazy/exrc.nvim/lua/exrc/init.lua:81>
@FledgeXu
Copy link
Author

After some digging up, I found vim.fs.joinpath is a neovim-nightly feature, Vim 0.9 hasn't supported it.

@FledgeXu
Copy link
Author

Here is a simple fix:
mrcjkb/rustaceanvim#10

@jedrzejboczar
Copy link
Owner

Thanks and sorry for late fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants