Use the full path for global config
This commit is contained in:
parent
a71267580d
commit
6795875084
1 changed files with 3 additions and 3 deletions
|
@ -1444,9 +1444,9 @@ impl PickerDelegate for DebugDelegate {
|
||||||
directory_in_worktree,
|
directory_in_worktree,
|
||||||
..
|
..
|
||||||
}) => Some(directory_in_worktree.display().to_string()),
|
}) => Some(directory_in_worktree.display().to_string()),
|
||||||
Some(TaskSourceKind::AbsPath { abs_path, .. }) => abs_path
|
Some(TaskSourceKind::AbsPath { abs_path, .. }) => {
|
||||||
.file_name()
|
Some(abs_path.to_string_lossy().into_owned())
|
||||||
.map(|n| format!("From Global {}", n.to_string_lossy())),
|
}
|
||||||
Some(TaskSourceKind::Lsp { language_name, .. }) => {
|
Some(TaskSourceKind::Lsp { language_name, .. }) => {
|
||||||
Some(format!("LSP: {language_name}"))
|
Some(format!("LSP: {language_name}"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue