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

E5105 plugins.lua:494 #30

Open
Lu0su opened this issue Jul 1, 2024 · 3 comments
Open

E5105 plugins.lua:494 #30

Lu0su opened this issue Jul 1, 2024 · 3 comments

Comments

@Lu0su
Copy link

Lu0su commented Jul 1, 2024

Error detected while processing /home/lu0su/.config/nvim/init.vim: line 3:
E5105: Error while calling lua chunk: /home/lu0su/.config/nvim/lua/archvim/plugins.lua:494: attempt to index field 'g' (a nil value)

@archibate
Copy link
Owner

archibate commented Jul 2, 2024

What's your nvim version? Mine is v0.9.5.
Try input command :lua print(vim.g)? I don't believe vim.g was deprecated in nvim v0.10.0... It should prints:

{ {
    <metatable> = {
      __index = <function 1>,
      __newindex = <function 2>
    }
  } }

@Lu0su
Copy link
Author

Lu0su commented Jul 5, 2024

好像是我的版本太老了,换了一个新版本的就没有这个问题了

@Lu0su
Copy link
Author

Lu0su commented Jul 5, 2024

感谢

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