File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -97,19 +97,6 @@ async function ensurePrerequisites(denops: Denops): Promise<string> {
97
97
return suffix ;
98
98
}
99
99
100
- export type OpenOptions = {
101
- mods ?: string ;
102
- cmdarg ?: string ;
103
- opener ?: string ;
104
- } ;
105
-
106
- export type OpenResult = {
107
- winid : number ;
108
- bufnr : number ;
109
- winnr : number ;
110
- tabpagenr : number ;
111
- } ;
112
-
113
100
/**
114
101
* Open a buffer
115
102
*/
@@ -131,6 +118,19 @@ export async function open(
131
118
) as OpenResult ;
132
119
}
133
120
121
+ export type OpenOptions = {
122
+ mods ?: string ;
123
+ cmdarg ?: string ;
124
+ opener ?: string ;
125
+ } ;
126
+
127
+ export type OpenResult = {
128
+ winid : number ;
129
+ bufnr : number ;
130
+ winnr : number ;
131
+ tabpagenr : number ;
132
+ } ;
133
+
134
134
/**
135
135
* Edit a buffer
136
136
*/
@@ -142,11 +142,6 @@ export async function reload(denops: Denops, bufnr: number): Promise<void> {
142
142
) ;
143
143
}
144
144
145
- export type ReplaceOptions = {
146
- fileformat ?: string ;
147
- fileencoding ?: string ;
148
- } ;
149
-
150
145
/**
151
146
* Replace the buffer content
152
147
*/
@@ -166,10 +161,9 @@ export async function replace(
166
161
) ;
167
162
}
168
163
169
- export type AssignOptions = {
164
+ export type ReplaceOptions = {
170
165
fileformat ?: string ;
171
166
fileencoding ?: string ;
172
- preprocessor ?: ( repl : string [ ] ) => string [ ] ;
173
167
} ;
174
168
175
169
/**
@@ -214,6 +208,12 @@ export async function assign(
214
208
} ) ;
215
209
}
216
210
211
+ export type AssignOptions = {
212
+ fileformat ?: string ;
213
+ fileencoding ?: string ;
214
+ preprocessor ?: ( repl : string [ ] ) => string [ ] ;
215
+ } ;
216
+
217
217
/**
218
218
* Concrete the buffer.
219
219
*
You can’t perform that action at this time.
0 commit comments