From d9fc6ec826da6330b243fe200eedbebd16dbbd98 Mon Sep 17 00:00:00 2001 From: Henrik Nilsson <43480919+Henrik-N@users.noreply.github.com> Date: Thu, 8 Jul 2021 18:58:22 +0200 Subject: User config option to change Rust inline hint/param prefixes (#774) * User configurable Rust inline hint prefixes * Ordered the language list * Rust param hints and ordered lang list --- ftplugin/rust.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ftplugin') diff --git a/ftplugin/rust.lua b/ftplugin/rust.lua index 6a6af9d2..4fb47582 100644 --- a/ftplugin/rust.lua +++ b/ftplugin/rust.lua @@ -32,11 +32,11 @@ if O.lang.rust.rust_tools.active then -- prefix for parameter hints -- default: "<-" - parameter_hints_prefix = "<-", + parameter_hints_prefix = O.lang.rust.rust_tools.parameter_hints_prefix, -- prefix for all the other hints (type, chaining) -- default: "=>" - other_hints_prefix = "=>", + other_hints_prefix = O.lang.rust.rust_tools.other_hints_prefix, -- whether to align to the lenght of the longest line in the file max_len_align = false, -- cgit v1.2.3