-
Notifications
You must be signed in to change notification settings - Fork 0
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
莫名奇妙的参数类型错误 #1
Comments
犯了一个低级错误,把相等的判断写反了,已经修复好,您更新一下,看是否还有问题 |
报了另一个错误,缺少 Warn 13:29:51 notify.warn [lspconfig] unhandled error: ...a/Local/nvim-data/lazy/neoconf.nvim/lua/neoconf/util.lua:54: attempt to call upvalue 'root_dir' (a nil value) 尝试设置 Language client log: C:\Users\gwt\AppData\Local\nvim-data\lsp.log
Detected filetype: markdown
1 client(s) attached to this buffer:
Client: marksman (id: 1, bufnr: [1])
filetypes: markdown, markdown.mdx
autostart: true
root directory: Running in single file mode.
cmd: C:\Users\gwt\AppData\Local\nvim-data\mason\bin\marksman.CMD server
Configured servers list: neocmake, ruff_lsp, marksman, texlab, jsonls, lua_ls, rime_ls, clangd, pyright, matlab_ls |
这个问题让我有点摸不着头脑,按理并不需要访问 root_dir 的值。从 |
有没有可能是 neoconf.nvim 的错误呢?类似于这个 bug: nil root_dir #51 我没有 Windows 系统的电脑,也没有使用 neoconf.nvim 这个包,不太好重现这个问题。 |
非常感谢🙏,把 |
不客气,问题解决了就好 |
直接复制的配置,就改了LSP目录
我的配置:
看样子是参数类型错误,能解决一下吗,我不是很懂lua
The text was updated successfully, but these errors were encountered: