From b0703ab4030fc11fd5d8dd4b1c3d6d1542111f47 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 10 May 2022 01:06:18 -0500 Subject: [PATCH] better rust inlay symbols --- .config/nvim/lua/plugins/configs/lsp.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/nvim/lua/plugins/configs/lsp.lua b/.config/nvim/lua/plugins/configs/lsp.lua index 1b29ec24..0492806a 100755 --- a/.config/nvim/lua/plugins/configs/lsp.lua +++ b/.config/nvim/lua/plugins/configs/lsp.lua @@ -71,6 +71,10 @@ local rustopts = { }, tools = { hover_actions = { auto_focus = true }, + inlay_hints = { + parameter_hints_prefix = ' ', + other_hints_prefix = ' ', + } }, } require('rust-tools').setup(rustopts)