Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/option/nvim/mod.ts

๐Ÿ“š Standard module for denops.vim
Go to Latest
import * as denopsStd from "https://deno.land/x/denops_std@v3.9.0/option/nvim/mod.ts";

Variables

global

List of words that change the behavior of the |jumplist|. stack Make the jumplist behave like the tagstack or like a web browser. Relative location of entries in the jumplist is preserved at the cost of discarding subsequent entries when navigating backwards in the jumplist and then jumping to a location. |jumplist-stack|

Enables pseudo-transparency for the |popup-menu|. Valid values are in the range of 0 for fully opaque popupmenu (disabled) to 100 for fully transparent background. Values between 0-30 are typically most useful.

Flags to change the way redrawing works, for debugging purposes. Most useful with 'writedelay' set to some reasonable value. Supports the following flags: compositor Indicate what redraws come from the compositor by briefly flashing the redrawn regions in colors indicating the redraw type. These are the highlight groups used (and their default colors): RedrawDebugNormal gui=reverse normal redraw passed through RedrawDebugClear guibg=Yellow clear event passed through RedrawDebugComposed guibg=Green redraw event modified by the compositor (due to overlapping grids, etc) RedrawDebugRecompose guibg=Red redraw generated by the compositor itself, due to a grid being moved or deleted. nothrottle Turn off throttling of the message grid. This is an optimization that joins many small scrolls to one larger scroll when drawing the message area (with 'display' msgsep flag active). invalid Enable stricter checking (abort) of inconsistencies of the internal screen state. This is mostly useful when running nvim inside a debugger (and the test suite). nodelta Send all internally redrawn cells to the UI, even if they are unchanged from the already displayed state.

Maximum number of lines kept beyond the visible screen. Lines at the top are deleted if new lines exceed this limit. Minimum is 1, maximum is 100000. Only in |terminal| buffers.

When non-empty, the shada file is read upon startup and written when exiting Vim (see |shada-file|). The string should be a comma separated list of parameters, each consisting of a single character identifying the particular parameter, followed by a number or string which specifies the value of that parameter. If a particular character is left out, then the default value is used for that parameter. The following is a list of the identifying characters and the effect of their value. CHAR VALUE ~ ! When included, save and restore global variables that start with an uppercase letter, and don't contain a lowercase letter. Thus "KEEPTHIS and "K_L_M" are stored, but "KeepThis" and "_K_L_M" are not. Nested List and Dict items may not be read back correctly, you end up with an empty item. " Maximum number of lines saved for each register. Old name of the '<' item, with the disadvantage that you need to put a backslash before the ", otherwise it will be recognized as the start of a comment! % When included, save and restore the buffer list. If Vim is started with a file name argument, the buffer list is not restored. If Vim is started without a file name argument, the buffer list is restored from the shada file. Quickfix ('buftype'), unlisted ('buflisted'), unnamed and buffers on removable media (|shada-r|) are not saved. When followed by a number, the number specifies the maximum number of buffers that are stored. Without a number all buffers are stored. ' Maximum number of previously edited files for which the marks are remembered. This parameter must always be included when 'shada' is non-empty. Including this item also means that the |jumplist| and the |changelist| are stored in the shada file. / Maximum number of items in the search pattern history to be saved. If non-zero, then the previous search and substitute patterns are also saved. When not included, the value of 'history' is used. : Maximum number of items in the command-line history to be saved. When not included, the value of 'history' is used. < Maximum number of lines saved for each register. If zero then registers are not saved. When not included, all lines are saved. '"' is the old name for this item. Also see the 's' item below: limit specified in KiB. @ Maximum number of items in the input-line history to be saved. When not included, the value of 'history' is used. c Dummy option, kept for compatibility reasons. Has no actual effect: ShaDa always uses UTF-8 and 'encoding' value is fixed to UTF-8 as well. f Whether file marks need to be stored. If zero, file marks ('0 to '9, 'A to 'Z) are not stored. When not present or when non-zero, they are all stored. '0 is used for the current cursor position (when exiting or when doing |:wshada|). h Disable the effect of 'hlsearch' when loading the shada file. When not included, it depends on whether ":nohlsearch" has been used since the last search command. n Name of the shada file. The name must immediately follow the 'n'. Must be at the end of the option! If the 'shadafile' option is set, that file name overrides the one given here with 'shada'. Environment variables are expanded when opening the file, not when setting the option. r Removable media. The argument is a string (up to the next ','). This parameter can be given several times. Each specifies the start of a path for which no marks will be stored. This is to avoid removable media. For Windows you could use "ra:,rb:". You can also use it for temp files, e.g., for Unix: "r/tmp". Case is ignored. s Maximum size of an item contents in KiB. If zero then nothing is saved. Unlike Vim this applies to all items, except for the buffer list and header. Full item size is off by three unsigned integers: with s10 maximum item size may be 1 byte (type: 7-bit integer) + 9 bytes (timestamp: up to 64-bit integer) + 3 bytes (item size: up to 16-bit integer because 28 < 10240 < 216) + 10240 bytes (requested maximum item contents size) = 10253 bytes.

When non-empty, overrides the file name used for |shada| (viminfo). When equal to "NONE" no shada file will be read or written. This option can be set with the |-i| command line flag. The |--clean| command line flag sets it to "NONE". This option cannot be set from a |modeline| or in the |sandbox|, for security reasons.

A comma separated list of options for specifying control characters to be removed from the text pasted into the terminal window. The supported values are:

This option specifies a function to be used for thesaurus completion with CTRL-X CTRL-T. |i_CTRL-X_CTRL-T| See |compl-thesaurusfunc|.

Enables pseudo-transparency for a floating window. Valid values are in the range of 0 for fully opaque window (disabled) to 100 for fully transparent background. Values between 0-30 are typically most useful.

Window-local highlights. Comma-delimited list of highlight |group-name| pairs "{hl-builtin}:{hl},..." where each {hl-builtin} is a built-in |highlight-groups| item to be overridden by {hl} group in the window. Only built-in |highlight-groups| are supported, not syntax highlighting (use |:ownsyntax| for that).