diff options
| author | Henrik Nilsson <[email protected]> | 2021-07-08 18:58:22 +0200 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-08 12:58:22 -0400 | 
| commit | d9fc6ec826da6330b243fe200eedbebd16dbbd98 (patch) | |
| tree | b7e4523fcaf279b874d5d5b4043cf2b9ec18cd5d /ftplugin | |
| parent | 53fed9d65538e0b9dcad6f32cca63b1d445a76dd (diff) | |
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
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/rust.lua | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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, | 
