feat(dev plugins): update plugins configs for developing

This commit is contained in:
2025-04-13 00:21:43 +04:00
parent d35acd0125
commit ff20726ade
6 changed files with 122 additions and 119 deletions

View File

@@ -1,25 +1,22 @@
local navic = require("nvim-navic")
vim.g.rustaceanvim = {
tools = {
autoSetHints = true,
inlay_hints = {
show_parameter_hints = true,
parameter_hints_prefix = "in: ", -- "<- "
other_hints_prefix = "out: " -- "=> "
}
},
server = {
on_attach = function(client, bufnr)
navic.attach(client, bufnr)
end,
settings = {
['rust-analyzer'] = {
procMacro = {
enable = true,
},
assist = {
importEnforceGranularity = true,
importPrefix = "create"
},
cargo = { allFeatures = true },
cargo = {
allFeatures = true,
},
checkOnSave = {
command = "clippy",
allFeatures = true