@@ -159,7 +159,7 @@ export const scrollback = {
159
159
160
160
/**
161
161
* When non-empty, the shada file is read upon startup and written
162
- * when exiting Vim (see |shada-file|). The string should be a comma
162
+ * when exiting Vim (see |shada-file|). The string should be a comma-
163
163
* separated list of parameters, each consisting of a single character
164
164
* identifying the particular parameter, followed by a number or string
165
165
* which specifies the value of that parameter. If a particular
@@ -283,7 +283,7 @@ export const shadafile = {
283
283
} ;
284
284
285
285
/**
286
- * A comma separated list of options for specifying control characters
286
+ * A comma- separated list of options for specifying control characters
287
287
* to be removed from the text pasted into the terminal window. The
288
288
* supported values are:
289
289
*/
@@ -309,36 +309,38 @@ export const termpastefilter = {
309
309
} ;
310
310
311
311
/**
312
- * This option specifies a function to be used for thesaurus completion
313
- * with CTRL-X CTRL-T. |i_CTRL-X_CTRL-T| See |compl-thesaurusfunc|.
312
+ * When non-empty, this option enables the window bar and determines its
313
+ * contents. The window bar is a bar that's shown at the top of every
314
+ * window with it enabled. The value of 'winbar' is evaluated like with
315
+ * 'statusline'.
314
316
*/
315
- export const thesaurusfunc = {
317
+ export const winbar = {
316
318
async get ( denops : Denops ) : Promise < string > {
317
- return await options . get ( denops , "thesaurusfunc " ) ?? "" ;
319
+ return await options . get ( denops , "winbar " ) ?? "" ;
318
320
} ,
319
321
set ( denops : Denops , value : string ) : Promise < void > {
320
- return options . set ( denops , "thesaurusfunc " , value ) ;
322
+ return options . set ( denops , "winbar " , value ) ;
321
323
} ,
322
324
reset ( denops : Denops ) : Promise < void > {
323
- return options . remove ( denops , "thesaurusfunc " ) ;
325
+ return options . remove ( denops , "winbar " ) ;
324
326
} ,
325
327
async getGlobal ( denops : Denops ) : Promise < string > {
326
- return await globalOptions . get ( denops , "thesaurusfunc " ) ?? "" ;
328
+ return await globalOptions . get ( denops , "winbar " ) ?? "" ;
327
329
} ,
328
330
setGlobal ( denops : Denops , value : string ) : Promise < void > {
329
- return globalOptions . set ( denops , "thesaurusfunc " , value ) ;
331
+ return globalOptions . set ( denops , "winbar " , value ) ;
330
332
} ,
331
333
resetGlobal ( denops : Denops ) : Promise < void > {
332
- return globalOptions . remove ( denops , "thesaurusfunc " ) ;
334
+ return globalOptions . remove ( denops , "winbar " ) ;
333
335
} ,
334
336
async getLocal ( denops : Denops ) : Promise < string > {
335
- return await localOptions . get ( denops , "thesaurusfunc " ) ?? "" ;
337
+ return await localOptions . get ( denops , "winbar " ) ?? "" ;
336
338
} ,
337
339
setLocal ( denops : Denops , value : string ) : Promise < void > {
338
- return localOptions . set ( denops , "thesaurusfunc " , value ) ;
340
+ return localOptions . set ( denops , "winbar " , value ) ;
339
341
} ,
340
342
resetLocal ( denops : Denops ) : Promise < void > {
341
- return localOptions . remove ( denops , "thesaurusfunc " ) ;
343
+ return localOptions . remove ( denops , "winbar " ) ;
342
344
} ,
343
345
} ;
344
346
@@ -370,10 +372,9 @@ export const winblend = {
370
372
371
373
/**
372
374
* Window-local highlights. Comma-delimited list of highlight
373
- * |group-name| pairs "{hl-builtin}:{hl},..." where each {hl-builtin} is
374
- * a built-in |highlight-groups| item to be overridden by {hl} group in
375
- * the window. Only built-in |highlight-groups| are supported, not
376
- * syntax highlighting (use |:ownsyntax| for that).
375
+ * |group-name| pairs "{hl-from}:{hl-to},..." where each {hl-from} is
376
+ * a |highlight-groups| item to be overridden by {hl-to} group in
377
+ * the window.
377
378
*/
378
379
export const winhighlight = {
379
380
async get ( denops : Denops ) : Promise < string > {
0 commit comments