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

attempt to call field 'nvim_create_autocmd' (a nil value) when start #12

Closed
brother-darion opened this issue Mar 29, 2022 · 1 comment
Closed
Assignees

Comments

@brother-darion
Copy link

Awesome project.
But I get error below when start, It's any step I miss?

Error detected while processing /root/.nv-ide/init.lua:
E5113: Error while calling lua chunk: /root/.config/nvim/lua/plugins.lua:12: attempt to call field 'nvim_create_autocmd' (a nil value)
stack traceback:
/root/.config/nvim/lua/plugins.lua:12: in main chunk
[C]: in function 'require'
/root/.config/nvim/init.lua:2: in main chunk
Press ENTER or type command to continue

Environment:
OS: Centos 7 ( run in Docker)
NVIM v0.6.1
Lua 5.1.4

@crivotz crivotz self-assigned this Mar 29, 2022
@crivotz
Copy link
Owner

crivotz commented Mar 29, 2022

I've moved all of my autocommands to the new API nvim_create_autocmd actually present only on nightly version of Neovim.
I've added a new branch neovim_stable for neovim stable version so you can use it

@crivotz crivotz closed this as completed Mar 29, 2022
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