extmark.h File Reference
#include "nvim/api/private/defs.h"
#include "nvim/map.h"

Go to the source code of this file.


EXTERN Map (String, handle_T) namespace_ids INIT(
EXTERN handle_T next_namespace_id INIT (=1)
 PROF_ values. More...

Function Documentation

◆ INIT()

EXTERN bool resizing_screen INIT ( )

PROF_ values.

Size of the tab_page_click_defs array.

cmdline recursion level

result of cmdline window or 0

type of cmdline window or 0

key value of 'cedit' option

start insert mode soon

set when :argdo, :windo or :bufdo is executing

set when :global is executing

set after swap write error msg

set after out of memory msg

Stream to write script to.

Selected "quit" at the dialog.

For dialog when swap file already exists.

Encoding used when 'fencs' is set to "default".

true when redoing Visual.

Type of Visual mode.

Restart Select mode when next cmd finished.

Register name for Select mode.

Whether Select mode is active.

Whether Visual mode is active.

Batch-mode: "-es" or "-Es" commandline argument was given.

filedesc set by embedder for reading first buffer like cmd | nvim -

the previous argument list id

Lines left before a "more" message. Ex mode needs to be able to reset this after you type something.

Set when a throw that cannot be handled in do_cmdline() must be propagated to the cstack of the previously called do_cmdline().

Set when a ":finish" or ":return" that cannot be handled in do_cmdline() must be propagated to the cstack of the previously called do_cmdline().

Number of nested try conditionals (across function calls and ":source" commands).

When "force_abort" is true, always skip commands after an error message, even after the outermost ":endif", ":endwhile" or ":endfor" or for a function without the "abort" flag. It is set to true when "trylevel" is non-zero (and ":silent!" was not used) or an exception is being thrown at the time an error is detected. It is set to false when "trylevel" gets zero again and there was no error or interrupt or throw.

"msg_list" points to a variable in the stack of do_cmdline() which keeps the list of arguments of several emsg() calls, one of which is to be converted to an error exception immediately after the failing command returns. The message to be used for the exception value is pointed to by the "throw_msg" field of the first element in the list. It is usually the same as the "msg" field of that element, but can be identical to the "msg" field of a later list element, when the "emsg_severe" flag was set when the emsg() call was made.

When set, don't convert an error to an exception. Used when displaying the interrupt message or reporting an exception that is still uncaught at the top level (which has already been discarded then). Also used for the error message when no exception can be thrown.

The stack of all caught and not finished exceptions. The exception on the top of the stack is the one got by evaluation of v:exception. The complete stack of all caught and pending exceptions is embedded in the various cstacks; the pending exceptions, however, are not on the caught stack.

Garbage collection can only take place when we are sure there are no Lists or Dictionaries being used internally. This is flagged with "may_garbage_collect" when we are at the toplevel. "want_garbage_collect" is set by the garbagecollect() function, which means we do garbage collection before waiting for a char at the toplevel. "garbage_collect_at_exit" indicates garbagecollect(1) was called.

Non-zero when only "safe" commands are allowed, e.g. when sourcing .exrc or .vimrc in current directory.

Non-zero when changing text and jumping to another window/buffer is not allowed.

Non-zero when no buffer name can be changed, no buffer can be deleted and current directory can't be changed. Used for SwapExists et al.

Non-zero when evaluating an expression in a "sandbox". Several things are not allowed then.

"State" is the main state of Vim. There are other variables that modify the state: Visual_mode: When State is MODE_NORMAL or MODE_INSERT. finish_op : When State is MODE_NORMAL, after typing the operator and before typing the motion command. motion_force: Last motion_force from do_pending_operator() debug_mode: Debug mode

◆ Map()

EXTERN Map ( String  ,