simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.17k stars 160 forks source link

None of the settings work #416

Closed AngeloMateus closed 11 months ago

AngeloMateus commented 11 months ago

I've tried multiple combination in my config:

local rustToolsOpts = { dap = { adapter = require('rust-tools.dap').get_codelldb_adapter( codelldb_path, liblldb_path) }, tools = { autoSetHints = true, inlay_hints = { only_current_line = true, only_current_line_autocmd = "CursorHold", show_parameter_hints = true, show_variable_name = true, parameter_hints_prefix = " ", other_hints_prefix = "=> ", max_len_align = false, max_len_align_padding = 0, right_align = false, right_align_padding = 0, highlight = "Comment", }, }, server = { settings = { ["rust-analyzer"] = { files = { excludeDirs = { "./external/" }, }, diagnostics = { enable = false, disabled = { "unresolved-proc-macro" }, experimental = false, }, }, }, on_attach = function(client, bufnr) -- ... end, }, standalone = true, capabilities = capabilities, }

Everything within "tools" works as expected, nothing in the "settings" makes seems to work. What am I missing?