File tree Expand file tree Collapse file tree 4 files changed +8
-149
lines changed Expand file tree Collapse file tree 4 files changed +8
-149
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ import type {
99 Sorter ,
1010 Theme ,
1111} from "@vim-fall/core" ;
12+ import type { GlobalConfig } from "@vim-fall/config/global-config" ;
13+ import type { ItemPickerParams } from "@vim-fall/config/item-picker" ;
1214
13- import type { Actions , GlobalConfig , ItemPickerParams } from "../../config.ts" ;
1415import { type Action , defineAction } from "../../action.ts" ;
1516import {
1617 type Derivable ,
@@ -25,6 +26,11 @@ import { fzf } from "../matcher/fzf.ts";
2526import { substring } from "../matcher/substring.ts" ;
2627import { regexp } from "../matcher/regexp.ts" ;
2728
29+ type Actions < T extends Detail , A extends string > = ItemPickerParams <
30+ T ,
31+ A
32+ > [ "actions" ] ;
33+
2834export type SubmatchOptions < T extends Detail , A extends string > = {
2935 /**
3036 * Actions available for the submatch picker.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6666 "./builtin/theme/double" : " ./builtin/theme/double.ts" ,
6767 "./builtin/theme/modern" : " ./builtin/theme/modern.ts" ,
6868 "./builtin/theme/single" : " ./builtin/theme/single.ts" ,
69- "./config" : " ./config.ts" ,
7069 "./coordinator" : " ./coordinator.ts" ,
7170 "./curator" : " ./curator.ts" ,
7271 "./item" : " ./item.ts" ,
122121 "@std/path" : " jsr:@std/path@^1.0.8" ,
123122 "@std/streams" : " jsr:@std/streams@^1.0.8" ,
124123 "@std/testing" : " jsr:@std/testing@^1.0.4" ,
124+ "@vim-fall/config" : " jsr:@vim-fall/config@^0.17.3" ,
125125 "@vim-fall/core" : " jsr:@vim-fall/core@^0.2.1" ,
126126 "fzf" : " npm:fzf@^0.5.2"
127127 }
Original file line number Diff line number Diff line change 11export * from "./action.ts" ;
2- export * from "./config.ts" ;
32export * from "./coordinator.ts" ;
43export * from "./curator.ts" ;
54export * from "./item.ts" ;
You can’t perform that action at this time.
0 commit comments