-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
config validation fails on valid nvim-dap config #294
Comments
Hey 👋 Thanks for reporting.
I am away from my laptop, but might have time to look into it tomorrow. LazyVim comes bundled with a lot of plugins, which makes it difficult for me to reproduce issues. |
Thanks. I found the problem is that
Actually, dap.configuration.program can also be a function type according to this. Lazyvim use mason-nvim-dap.nvim to setup dap, for codelldb, the program field type is "function", see Just change the checker to { 'string', 'function' }, then everything works well. I made a PR #296 to fix. |
Neovim version (nvim -v)
v0.9.5 with LazyVim latest
Operating system/version
macOS 13.6.4
Output of :checkhealth rustaceanvim
How to reproduce the issue
Expected behaviour
When open a rust file rust othen repo, rustacean will always launch rust-analyzer,and treessitter highlight will be ok
Actual behaviour
rustacean will not launch rust-analyzer, treesitter highlight will not work.
Bad when start from this directory .
At the and, if I run ":e" in vim, it will be ok again.
When setup rustacean with auto_attach: true, rust-analyzer works ok, but tree sitter highlight not good.
Afer uninstall codelldb adapter, every thing will be ok.
Good when start from another directory .
The minimal config used to reproduce this issue.
The text was updated successfully, but these errors were encountered: