mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-14 08:53:52 +01:00
refactor: better handling of hint_style_arg
This commit is contained in:
parent
d2eb8f0e16
commit
e13c58db30
3 changed files with 23 additions and 19 deletions
|
|
@ -96,7 +96,7 @@ impl ConfigExt {
|
|||
}
|
||||
"@copyrat-hint-style" => {
|
||||
let case_insensitive = true;
|
||||
inner.hint_style = Some(
|
||||
inner.hint_style_arg = Some(
|
||||
basic::HintStyleArg::from_str(value, case_insensitive)
|
||||
.map_err(Error::ExpectedEnumVariant)?,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue