We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf9f3e commit cac7fd4Copy full SHA for cac7fd4
builtin/curator/git_grep.ts
@@ -1,5 +1,6 @@
1
import { TextLineStream } from "@std/streams/text-line-stream";
2
import * as fn from "@denops/std/function";
3
+import { SEPARATOR } from "@std/path/constants";
4
5
import { type Curator, defineCurator } from "../../curator.ts";
6
@@ -65,13 +66,14 @@ export function gitGrep(): Curator<Detail> {
65
66
continue;
67
}
68
const { path, line, column, context } = result;
69
+ const abspath = `${cwd}${SEPARATOR}${path}`;
70
71
// Yield a structured item for each matched line
72
yield {
73
id: id++,
- value: `${path}:${line}:${column}:${context}`,
74
+ value: `${abspath}:${line}:${column}:${context}`,
75
detail: {
- path,
76
+ path: abspath,
77
line,
78
column,
79
context,
0 commit comments