robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
ae426ee465
master
1#pragma once 2 3#include "nvim/ex_cmds_defs.h" 4 5/// All recognized msgpack types 6typedef enum { 7kMPNil , 8kMPBoolean , 9kMPInteger , 10kMPFloat , 11kMPString , 12kMPArray , 13kMPMap , 14kMPExt , 15}MessagePackType ; 16#define NUM_MSGPACK_TYPES (kMPExt + 1) 17 18/// Struct passed through eval() functions. 19/// See EVALARG_EVALUATE for a fixed value with eval_flags set to EVAL_EVALUATE. 20typedef struct { 21int eval_flags ;///< EVAL_ flag values below 22 23/// copied from exarg_T when "getline" is "getsourceline". Can be NULL. 24LineGetter eval_getline ; 25void * eval_cookie ;///< argument for eval_getline() 26 27/// pointer to the last line obtained with getsourceline() 28char * eval_tofree ; 29}evalarg_T ; 30 31/// Defines for Vim variables 32typedef enum { 33VV_COUNT , 34VV_COUNT1 , 35VV_PREVCOUNT , 36VV_ERRMSG , 37VV_WARNINGMSG , 38VV_STATUSMSG , 39VV_SHELL_ERROR , 40VV_THIS_SESSION , 41VV_VERSION , 42VV_LNUM , 43VV_TERMREQUEST , 44VV_TERMRESPONSE , 45VV_FNAME , 46VV_LANG , 47VV_LC_TIME , 48VV_CTYPE , 49VV_CC_FROM , 50VV_CC_TO , 51VV_FNAME_IN , 52VV_FNAME_OUT , 53VV_FNAME_NEW , 54VV_FNAME_DIFF , 55VV_CMDARG , 56VV_FOLDSTART , 57VV_FOLDEND , 58VV_FOLDDASHES , 59VV_FOLDLEVEL , 60VV_PROGNAME , 61VV_SEND_SERVER , 62VV_DYING , 63VV_EXCEPTION , 64VV_THROWPOINT , 65VV_REG , 66VV_CMDBANG , 67VV_INSERTMODE , 68VV_VAL , 69VV_KEY , 70VV_PROFILING , 71VV_FCS_REASON , 72VV_FCS_CHOICE , 73VV_BEVAL_BUFNR , 74VV_BEVAL_WINNR , 75VV_BEVAL_WINID , 76VV_BEVAL_LNUM , 77VV_BEVAL_COL , 78VV_BEVAL_TEXT , 79VV_SCROLLSTART , 80VV_SWAPNAME , 81VV_SWAPCHOICE , 82VV_SWAPCOMMAND , 83VV_CHAR , 84VV_MOUSE_WIN , 85VV_MOUSE_WINID , 86VV_MOUSE_LNUM , 87VV_MOUSE_COL , 88VV_OP , 89VV_SEARCHFORWARD , 90VV_HLSEARCH , 91VV_OLDFILES , 92VV_WINDOWID , 93VV_PROGPATH , 94VV_COMPLETED_ITEM , 95VV_OPTION_NEW , 96VV_OPTION_OLD , 97VV_OPTION_OLDLOCAL , 98VV_OPTION_OLDGLOBAL , 99VV_OPTION_COMMAND , 100VV_OPTION_TYPE , 101VV_ERRORS , 102VV_FALSE , 103VV_TRUE , 104VV_NULL , 105VV_NUMBERMAX , 106VV_NUMBERMIN , 107VV_NUMBERSIZE , 108VV_VIM_DID_ENTER , 109VV_TESTING , 110VV_TYPE_NUMBER , 111VV_TYPE_STRING , 112VV_TYPE_FUNC , 113VV_TYPE_LIST , 114VV_TYPE_DICT , 115VV_TYPE_FLOAT , 116VV_TYPE_BOOL , 117VV_TYPE_BLOB , 118VV_EVENT , 119VV_VERSIONLONG , 120VV_ECHOSPACE , 121VV_ARGF , 122VV_ARGV , 123VV_COLLATE , 124VV_EXITING , 125VV_MAXCOL , 126VV_STACKTRACE , 127VV_VIM_DID_INIT , 128// Nvim 129VV_STDERR , 130VV_MSGPACK_TYPES , 131VV__NULL_STRING ,// String with NULL value. For test purposes only. 132VV__NULL_LIST ,// List with NULL value. For test purposes only. 133VV__NULL_DICT ,// Dict with NULL value. For test purposes only. 134VV__NULL_BLOB ,// Blob with NULL value. For test purposes only. 135VV_LUA , 136VV_RELNUM , 137VV_VIRTNUM , 138VV_STARTTIME , 139VV_EXITREASON , 140VV_USERACTIVE , 141VV_STARTREASON , 142}VimVarIndex ;