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

initializationOptions with rust-analyzer don't seem to work #538

Open
cyclopanic opened this issue Jul 11, 2024 · 0 comments
Open

initializationOptions with rust-analyzer don't seem to work #538

cyclopanic opened this issue Jul 11, 2024 · 0 comments

Comments

@cyclopanic
Copy link

var lspServers = [
    {
        name: 'rust-analyzer',
        filetype: ['rust'],
        path: 'rust-analyzer',
        args: [],
        syncInit: true,
        initializationOptions: {
            cargo: {
                targetDir: true,
            }
        }
    }
]
call LspOptionsSet({
	aleSupport: true,
	noNewlineInCompletion: true,
})
call LspAddServer(lspServers)

setting rust-analyzer.cargo.targetDir to true doesnt seem to work.
file lock is still being blocked and rustanalyzer and cargo are still using the same directory
(using vim9script)

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