astronvim_config/init.lua
RingOfStorms (Joshua Bell) b8841bf35c remove cruft
2023-04-12 10:33:06 -05:00

23 lines
532 B
Lua

return {
colorscheme = "material",
lsp = {
formatting = { format_on_save = false },
setup_handlers = {
-- add custom handler
rust_analyzer = function(_, opts)
local rt = require "rust-tools"
rt.setup {
server = opts,
tools = {
inlay_hints = {
parameter_hints_prefix = "< ",
other_hints_prefix = ": ",
highlight = "inlays",
},
},
}
rt.inlay_hints.enable()
end,
},
},
}