diff options
author | A-Walrus | 2022-11-21 01:58:35 +0000 |
---|---|---|
committer | GitHub | 2022-11-21 01:58:35 +0000 |
commit | 2f9ca3840a478fc58f411b6a4bc67019829ff72f (patch) | |
tree | e26e340d317442b4d9e8ae8216ad40dc297a77ca /helix-term/src/commands/lsp.rs | |
parent | 420e33a60064ad86e9f2f8dd29b3938318355673 (diff) |
Add preview for scratch buffers in buffer picker (#3454)
Diffstat (limited to 'helix-term/src/commands/lsp.rs')
-rw-r--r-- | helix-term/src/commands/lsp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs index 33d33440..dcabfab1 100644 --- a/helix-term/src/commands/lsp.rs +++ b/helix-term/src/commands/lsp.rs @@ -156,7 +156,7 @@ fn location_to_file_location(location: &lsp::Location) -> FileLocation { location.range.start.line as usize, location.range.end.line as usize, )); - (path, line) + (path.into(), line) } // TODO: share with symbol picker(symbol.location) |