mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 07:33:18 +02:00
move keybinding_path to nu-data (#2927)
This commit is contained in:
@ -48,3 +48,6 @@ users = "0.10.0"
|
||||
|
||||
[dev-dependencies]
|
||||
nu-test-support = {version = "0.25.2", path = "../nu-test-support"}
|
||||
|
||||
[features]
|
||||
rustyline-support = []
|
||||
|
@ -47,7 +47,7 @@ pub fn nu(env: &IndexMap<String, String>, tag: impl Into<Tag>) -> Result<Value,
|
||||
|
||||
#[cfg(feature = "rustyline-support")]
|
||||
{
|
||||
let keybinding_path = crate::keybinding::keybinding_path()?;
|
||||
let keybinding_path = nu_data::keybinding::keybinding_path()?;
|
||||
nu_dict.insert_value(
|
||||
"keybinding-path",
|
||||
UntaggedValue::filepath(keybinding_path).into_value(&tag),
|
||||
|
Reference in New Issue
Block a user