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

无效的表达式 v:lua.require('ui.statusline').run() #16

Open
zerrol opened this issue Jul 25, 2023 · 1 comment
Open

无效的表达式 v:lua.require('ui.statusline').run() #16

zerrol opened this issue Jul 25, 2023 · 1 comment

Comments

@zerrol
Copy link

zerrol commented Jul 25, 2023

不太懂 lua 语法,是否哪里有问题?
nvim 版本:0.9.1

image
@zerrol
Copy link
Author

zerrol commented Jul 25, 2023

在 google 的帮助下,改成了这样,表达式报错的问题解决了。
image

然后这里会报错,提示 attempt to index global 'config' (a nil value) stack traceback:,看代码应该这里错了。由于不会 lua,只能注释掉了下面三行,然后便没有报错了。还是需要 Up 大大看下如何解决

image

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

1 participant