-
Checked other resources
DescriptionMy project structure is: [package]
name = "repro"
version = "0.1.0"
edition = "2021"
[dependencies]
dep-core = { path = "deps/dep-core" }The root When I navigate from Example Code{}Neovim version (nvim -v)v0.10.1 Operating system/versionnixos 24.05 Output of :checkhealth rustaceanvimnone |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
add .nvim.lua at project root vim.g.rustaceanvim = {
server = {
root_dir = vim.fn.getcwd()
},
}edited:according to mrcjkb said
|
Beta Was this translation helpful? Give feedback.
add .nvim.lua at project root
edited:
according to mrcjkb said
vim.lsp.config("rust-analyzer", { root_dir = vim.fn.getcwd() })and:h vim.lsp.Configvim.lsp.config("rust-analyzer", { root_dir = vim.fn.getcwd(), reuse_client = true })