/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * option.h: definition of global variables for settable options */ /* * Default values for 'errorformat'. * The "%f|%l| %m" one is used for when the contents of the quickfix window is * written to a file. */#ifdef AMIGA# define DFLT_EFM "%f>%l:%c:%t:%n:%m,%f:%l: %t%*\\D%n: %m,%f %l %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f:%l:%m,%f|%l| %m"#else# if defined(MSDOS) || defined(WIN3264)# define DFLT_EFM "%f(%l) : %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,%f|%l| %m"# else# if defined(__EMX__) /* put most common here (i.e. gcc format) at front */# define DFLT_EFM "%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f(%l:%c) : %m,%f|%l| %m"# else# if defined(__QNX__)# define DFLT_EFM "%f(%l):%*[^WE]%t%*\\D%n:%m,%f|%l| %m"# else# ifdef VMS# define DFLT_EFM "%A%p^,%C%%CC-%t-%m,%Cat line number %l in file %f,%f|%l| %m"# else /* Unix, probably */# ifdef EBCDIC#define DFLT_EFM "%*[^ ] %*[^ ] %f:%l%*[ ]%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f,%f|%l| %m"# else#define DFLT_EFM "%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%D%*\\a: Entering directory `%f',%X%*\\a: Leaving directory `%f',%DMaking %*\\a in %f,%f|%l| %m"# endif# endif# endif# endif# endif#endif #define DFLT_GREPFORMAT "%f:%l:%m,%f:%l%m,%f %l%m" /* default values for b_p_ff 'fileformat' and p_ffs 'fileformats' */#define FF_DOS "dos"#define FF_MAC "mac"#define FF_UNIX "unix" #ifdef USE_CRNL# define DFLT_FF "dos"# define DFLT_FFS_VIM "dos,unix"# define DFLT_FFS_VI "dos,unix" /* also autodetect in compatible mode */# define DFLT_TEXTAUTO TRUE#else# ifdef USE_CR# define DFLT_FF "mac"# define DFLT_FFS_VIM "mac,unix,dos"# define DFLT_FFS_VI "mac,unix,dos"# define DFLT_TEXTAUTO TRUE# else# define DFLT_FF "unix"# define DFLT_FFS_VIM "unix,dos"# ifdef __CYGWIN__# define DFLT_FFS_VI "unix,dos" /* Cygwin always needs file detection */# define DFLT_TEXTAUTO TRUE# else# define DFLT_FFS_VI ""# define DFLT_TEXTAUTO FALSE# endif# endif#endif #ifdef FEAT_MBYTE/* Possible values for 'encoding' */# define ENC_UCSBOM "ucs-bom" /* check for BOM at start of file */ /* default value for 'encoding' */# define ENC_DFLT "latin1"#endif /* end-of-line style */#define EOL_UNKNOWN -1 /* not defined yet */#define EOL_UNIX 0 /* NL */#define EOL_DOS 1 /* CR NL */#define EOL_MAC 2 /* CR */ /* Formatting options for p_fo 'formatoptions' */#define FO_WRAP 't'#define FO_WRAP_COMS 'c'#define FO_RET_COMS 'r'#define FO_OPEN_COMS 'o'#define FO_Q_COMS 'q'#define FO_Q_NUMBER 'n'#define FO_Q_SECOND '2'#define FO_INS_VI 'v'#define FO_INS_LONG 'l'#define FO_INS_BLANK 'b'#define FO_MBYTE_BREAK 'm' /* break before/after multi-byte char */#define FO_MBYTE_JOIN 'M' /* no space before/after multi-byte char */#define FO_MBYTE_JOIN2 'B' /* no space between multi-byte chars */#define FO_ONE_LETTER '1'#define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */#define FO_AUTO 'a' /* automatic formatting */ #define DFLT_FO_VI "vt"#define DFLT_FO_VIM "tcq"#define FO_ALL "tcroq2vlb1mMBn,aw" /* for do_set() */ /* characters for the p_cpo option: */#define CPO_ALTREAD 'a' /* ":read" sets alternate file name */#define CPO_ALTWRITE 'A' /* ":write" sets alternate file name */#define CPO_BAR 'b' /* "\|" ends a mapping */#define CPO_BSLASH 'B' /* backslash in mapping is not special */#define CPO_SEARCH 'c'#define CPO_CONCAT 'C' /* Don't concatenate sourced lines */#define CPO_DOTTAG 'd' /* "./tags" in 'tags' is in current dir */#define CPO_DIGRAPH 'D' /* No digraph after "r", "f", etc. */#define CPO_EXECBUF 'e'#define CPO_EMPTYREGION 'E' /* operating on empty region is an error */#define CPO_FNAMER 'f' /* set file name for ":r file" */#define CPO_FNAMEW 'F' /* set file name for ":w file" */#define CPO_GOTO1 'g' /* goto line 1 for ":edit" */#define CPO_INSEND 'H' /* "I" inserts before last blank in line */#define CPO_INTMOD 'i' /* interrupt a read makes buffer modified */#define CPO_INDENT 'I' /* remove auto-indent more often */#define CPO_JOINSP 'j' /* only use two spaces for join after '.' */#define CPO_ENDOFSENT 'J' /* need two spaces to detect end of sentence */#define CPO_KEYCODE 'k' /* don't recognize raw key code in mappings */#define CPO_KOFFSET 'K' /* don't wait for key code in mappings */#define CPO_LITERAL 'l' /* take char after backslash in [] literal */#define CPO_LISTWM 'L' /* 'list' changes wrapmargin */#define CPO_SHOWMATCH 'm'#define CPO_MATCHBSL 'M' /* "%" ignores use of backslashes */#define CPO_NUMCOL 'n' /* 'number' column also used for text */#define CPO_LINEOFF 'o'#define CPO_OVERNEW 'O' /* silently overwrite new file */#define CPO_LISP 'p' /* 'lisp' indenting */#define CPO_FNAMEAPP 'P' /* set file name for ":w >>file" */#define CPO_JOINCOL 'q' /* with "3J" use column after first join */#define CPO_REDO 'r'#define CPO_REMMARK 'R' /* remove marks when filtering */#define CPO_BUFOPT 's'#define CPO_BUFOPTGLOB 'S'#define CPO_TAGPAT 't'#define CPO_UNDO 'u' /* "u" undoes itself */#define CPO_BACKSPACE 'v' /* "v" keep deleted text */#define CPO_CW 'w' /* "cw" only changes one blank */#define CPO_FWRITE 'W' /* "w!" doesn't overwrite readonly files */#define CPO_ESC 'x'#define CPO_REPLCNT 'X' /* "R" with a count only deletes chars once */#define CPO_YANK 'y'#define CPO_KEEPRO 'Z' /* don't reset 'readonly' on ":w!" */#define CPO_DOLLAR '$'#define CPO_FILTER '!'#define CPO_MATCH '%'#define CPO_STAR '*' /* ":*" means ":@" */#define CPO_PLUS '+' /* ":write file" resets 'modified' */#define CPO_MINUS '-' /* "9-" fails at and before line 9 */#define CPO_SPECI '<' /* don't recognize <> in mappings */#define CPO_REGAPPEND '>' /* insert NL when appending to a register *//* POSIX flags */#define CPO_HASH '#' /* "D", "o" and "O" do not use a count */#define CPO_PARA '{' /* "{" is also a paragraph boundary */#define CPO_TSIZE '|' /* $LINES and $COLUMNS overrule term size */#define CPO_PRESERVE '&' /* keep swap file after :preserve */#define CPO_SUBPERCENT '/' /* % in :s string uses previous one */#define CPO_BACKSL '\\' /* \ is not special in [] */#define CPO_CHDIR '.' /* don't chdir if buffer is modified *//* default values for Vim, Vi and POSIX */#define CPO_VIM "aABceFs"#define CPO_VI "aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>"#define CPO_ALL "aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>#{|&/\\." /* characters for p_ww option: */#define WW_ALL "bshl<>[],~" /* characters for p_mouse option: */#define MOUSE_NORMAL 'n' /* use mouse in Normal mode */#define MOUSE_VISUAL 'v' /* use mouse in Visual/Select mode */#define MOUSE_INSERT 'i' /* use mouse in Insert mode */#define MOUSE_COMMAND 'c' /* use mouse in Command-line mode */#define MOUSE_HELP 'h' /* use mouse in help buffers */#define MOUSE_RETURN 'r' /* use mouse for hit-return message */#define MOUSE_A "nvich" /* used for 'a' flag */#define MOUSE_ALL "anvichr" /* all possible characters */#define MOUSE_NONE ' ' /* don't use Visual selection */#define MOUSE_NONEF 'x' /* forced modeless selection */ /* characters for p_shm option: */#define SHM_RO 'r' /* readonly */#define SHM_MOD 'm' /* modified */#define SHM_FILE 'f' /* (file 1 of 2) */#define SHM_LAST 'i' /* last line incomplete */#define SHM_TEXT 'x' /* tx instead of textmode */#define SHM_LINES 'l' /* "L" instead of "lines" */#define SHM_NEW 'n' /* "[New]" instead of "[New file]" */#define SHM_WRI 'w' /* "[w]" instead of "written" */#define SHM_A "rmfixlnw" /* represented by 'a' flag */#define SHM_WRITE 'W' /* don't use "written" at all */#define SHM_TRUNC 't' /* trunctate file messages */#define SHM_TRUNCALL 'T' /* trunctate all messages */#define SHM_OVER 'o' /* overwrite file messages */#define SHM_OVERALL 'O' /* overwrite more messages */#define SHM_SEARCH 's' /* no search hit bottom messages */#define SHM_ATTENTION 'A' /* no ATTENTION messages */#define SHM_INTRO 'I' /* intro messages */#define SHM_ALL "rmfixlnwaWtToOsAI" /* all possible flags for 'shm' */ /* characters for p_go: */#define GO_ASEL 'a' /* autoselect */#define GO_ASELML 'A' /* autoselect modeless selection */#define GO_BOT 'b' /* use bottom scrollbar */#define GO_CONDIALOG 'c' /* use console dialog */#define GO_TABLINE 'e' /* may show tabline */#define GO_FORG 'f' /* start GUI in foreground */#define GO_GREY 'g' /* use grey menu items */#define GO_HORSCROLL 'h' /* flexible horizontal scrolling */#define GO_ICON 'i' /* use Vim icon */#define GO_LEFT 'l' /* use left scrollbar */#define GO_VLEFT 'L' /* left scrollbar with vert split */#define GO_MENUS 'm' /* use menu bar */#define GO_NOSYSMENU 'M' /* don't source system menu */#define GO_POINTER 'p' /* pointer enter/leave callbacks */#define GO_RIGHT 'r' /* use right scrollbar */#define GO_VRIGHT 'R' /* right scrollbar with vert split */#define GO_TEAROFF 't' /* add tear-off menu items */#define GO_TOOLBAR 'T' /* add toolbar */#define GO_FOOTER 'F' /* add footer */#define GO_VERTICAL 'v' /* arrange dialog buttons vertically */#define GO_ALL "aAbcefFghilmMprtTv" /* all possible flags for 'go' */ /* flags for 'comments' option */#define COM_NEST 'n' /* comments strings nest */#define COM_BLANK 'b' /* needs blank after string */#define COM_START 's' /* start of comment */#define COM_MIDDLE 'm' /* middle of comment */#define COM_END 'e' /* end of comment */#define COM_AUTO_END 'x' /* last char of end closes comment */#define COM_FIRST 'f' /* first line comment only */#define COM_LEFT 'l' /* left adjusted */#define COM_RIGHT 'r' /* right adjusted */#define COM_NOBACK 'O' /* don't use for "O" command */#define COM_ALL "nbsmexflrO" /* all flags for 'comments' option */#define COM_MAX_LEN 50 /* maximum length of a part */ /* flags for 'statusline' option */#define STL_FILEPATH 'f' /* path of file in buffer */#define STL_FULLPATH 'F' /* full path of file in buffer */#define STL_FILENAME 't' /* last part (tail) of file path */#define STL_COLUMN 'c' /* column og cursor*/#define STL_VIRTCOL 'v' /* virtual column */#define STL_VIRTCOL_ALT 'V' /* - with 'if different' display */#define STL_LINE 'l' /* line number of cursor */#define STL_NUMLINES 'L' /* number of lines in buffer */#define STL_BUFNO 'n' /* current buffer number */#define STL_KEYMAP 'k' /* 'keymap' when active */#define STL_OFFSET 'o' /* offset of character under cursor*/#define STL_OFFSET_X 'O' /* - in hexadecimal */#define STL_BYTEVAL 'b' /* byte value of character */#define STL_BYTEVAL_X 'B' /* - in hexadecimal */#define STL_ROFLAG 'r' /* readonly flag */#define STL_ROFLAG_ALT 'R' /* - other display */#define STL_HELPFLAG 'h' /* window is showing a help file */#define STL_HELPFLAG_ALT 'H' /* - other display */#define STL_FILETYPE 'y' /* 'filetype' */#define STL_FILETYPE_ALT 'Y' /* - other display */#define STL_PREVIEWFLAG 'w' /* window is showing the preview buf */#define STL_PREVIEWFLAG_ALT 'W' /* - other display */#define STL_MODIFIED 'm' /* modified flag */#define STL_MODIFIED_ALT 'M' /* - other display */#define STL_PERCENTAGE 'p' /* percentage through file */#define STL_ALTPERCENT 'P' /* percentage as TOP BOT ALL or NN% */#define STL_ARGLISTSTAT 'a' /* argument list status as (x of y) */#define STL_PAGENUM 'N' /* page number (when printing)*/#define STL_VIM_EXPR '{' /* start of expression to substitute */#define STL_MIDDLEMARK '=' /* separation between left and right */#define STL_TRUNCMARK '<' /* truncation mark if line is too long*/#define STL_USER_HL '*' /* highlight from (User)1..9 or 0 */#define STL_HIGHLIGHT '#' /* highlight name */#define STL_TABPAGENR 'T' /* tab page label nr */#define STL_TABCLOSENR 'X' /* tab page close nr */#define STL_ALL ((char_u *) "fFtcvVlLknoObBrRhHmYyWwMpPaN{#") /* flags used for parsed 'wildmode' */#define WIM_FULL 1#define WIM_LONGEST 2#define WIM_LIST 4 /* arguments for can_bs() */#define BS_INDENT 'i' /* "Indent" */#define BS_EOL 'o' /* "eOl" */#define BS_START 's' /* "Start" */ #define LISPWORD_VALUE "defun,define,defmacro,set!,lambda,if,case,let,flet,let*,letrec,do,do*,define-syntax,let-syntax,letrec-syntax,destructuring-bind,defpackage,defparameter,defstruct,deftype,defvar,do-all-symbols,do-external-symbols,do-symbols,dolist,dotimes,ecase,etypecase,eval-when,labels,macrolet,multiple-value-bind,multiple-value-call,multiple-value-prog1,multiple-value-setq,prog1,progv,typecase,unless,unwind-protect,when,with-input-from-string,with-open-file,with-open-stream,with-output-to-string,with-package-iterator,define-condition,handler-bind,handler-case,restart-bind,restart-case,with-simple-restart,store-value,use-value,muffle-warning,abort,continue,with-slots,with-slots*,with-accessors,with-accessors*,defclass,defmethod,print-unreadable-object" /* * The following are actual variables for the options */ #ifdef FEAT_RIGHTLEFTEXTERN long p_aleph; /* 'aleph' */#endif#ifdef FEAT_AUTOCHDIREXTERN int p_acd; /* 'autochdir' */#endif#ifdef FEAT_MBYTEEXTERN char_u *p_ambw; /* 'ambiwidth' */#endif#if defined(FEAT_GUI) && defined(MACOS_X)EXTERN int *p_antialias; /* 'antialias' */#endifEXTERN int p_ar; /* 'autoread' */EXTERN int p_aw; /* 'autowrite' */EXTERN int p_awa; /* 'autowriteall' */EXTERN char_u *p_bs; /* 'backspace' */EXTERN char_u *p_bg; /* 'background' */EXTERN int p_bk; /* 'backup' */EXTERN char_u *p_bkc; /* 'backupcopy' */EXTERN unsigned bkc_flags;#ifdef IN_OPTION_Cstatic char *(p_bkc_values[]) = {"yes", "auto", "no", "breaksymlink", "breakhardlink", NULL};#endif# define BKC_YES 0x001# define BKC_AUTO 0x002# define BKC_NO 0x004# define BKC_BREAKSYMLINK 0x008# define BKC_BREAKHARDLINK 0x010EXTERN char_u *p_bdir; /* 'backupdir' */EXTERN char_u *p_bex; /* 'backupext' */#ifdef FEAT_WILDIGNEXTERN char_u *p_bsk; /* 'backupskip' */#endif#ifdef FEAT_BEVALEXTERN long p_bdlay; /* 'balloondelay' */EXTERN int p_beval; /* 'ballooneval' */# ifdef FEAT_EVALEXTERN char_u *p_bexpr;# endif#endif#ifdef FEAT_BROWSEEXTERN char_u *p_bsdir; /* 'browsedir' */#endif#ifdef MSDOSEXTERN int p_biosk; /* 'bioskey' */EXTERN int p_consk; /* 'conskey' */#endif#ifdef FEAT_LINEBREAKEXTERN char_u *p_breakat; /* 'breakat' */#endif#ifdef FEAT_MBYTEEXTERN char_u *p_cmp; /* 'casemap' */EXTERN unsigned cmp_flags;# ifdef IN_OPTION_Cstatic char *(p_cmp_values[]) = {"internal", "keepascii", NULL};# endif# define CMP_INTERNAL 0x001# define CMP_KEEPASCII 0x002#endif#ifdef FEAT_MBYTEEXTERN char_u *p_enc; /* 'encoding' */EXTERN int p_deco; /* 'delcombine' */# ifdef FEAT_EVALEXTERN char_u *p_ccv; /* 'charconvert' */# endif#endif#ifdef FEAT_CMDWINEXTERN char_u *p_cedit; /* 'cedit' */EXTERN long p_cwh; /* 'cmdwinheight' */#endif#ifdef FEAT_CLIPBOARDEXTERN char_u *p_cb; /* 'clipboard' */#endifEXTERN long p_ch; /* 'cmdheight' */#if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)EXTERN int p_confirm; /* 'confirm' */#endifEXTERN int p_cp; /* 'compatible' */#ifdef FEAT_INS_EXPANDEXTERN char_u *p_cot; /* 'completeopt' */EXTERN long p_ph; /* 'pumheight' */#endifEXTERN char_u *p_cpo; /* 'cpoptions' */#ifdef FEAT_CSCOPEEXTERN char_u *p_csprg; /* 'cscopeprg' */# ifdef FEAT_QUICKFIXEXTERN char_u *p_csqf; /* 'cscopequickfix' */# define CSQF_CMDS "sgdctefi"# define CSQF_FLAGS "+-0"# endifEXTERN int p_cst; /* 'cscopetag' */EXTERN long p_csto; /* 'cscopetagorder' */EXTERN long p_cspc; /* 'cscopepathcomp' */EXTERN int p_csverbose; /* 'cscopeverbose' */#endifEXTERN char_u *p_debug; /* 'debug' */#ifdef FEAT_FIND_IDEXTERN char_u *p_def; /* 'define' */EXTERN char_u *p_inc;#endif#ifdef FEAT_DIFFEXTERN char_u *p_dip; /* 'diffopt' */# ifdef FEAT_EVALEXTERN char_u *p_dex; /* 'diffexpr' */# endif#endif#ifdef FEAT_INS_EXPANDEXTERN char_u *p_dict; /* 'dictionary' */#endif#ifdef FEAT_DIGRAPHSEXTERN int p_dg; /* 'digraph' */#endifEXTERN char_u *p_dir; /* 'directory' */EXTERN char_u *p_dy; /* 'display' */EXTERN unsigned dy_flags;#ifdef IN_OPTION_Cstatic char *(p_dy_values[]) = {"lastline", "uhex", NULL};#endif#define DY_LASTLINE 0x001#define DY_UHEX 0x002EXTERN int p_ed; /* 'edcompatible' */#ifdef FEAT_VERTSPLITEXTERN char_u *p_ead; /* 'eadirection' */#endifEXTERN int p_ea; /* 'equalalways' */EXTERN char_u *p_ep; /* 'equalprg' */EXTERN int p_eb; /* 'errorbells' */#ifdef FEAT_QUICKFIXEXTERN char_u *p_ef; /* 'errorfile' */EXTERN char_u *p_efm; /* 'errorformat' */EXTERN char_u *p_gefm; /* 'grepformat' */EXTERN char_u *p_gp; /* 'grepprg' */#endif#ifdef FEAT_AUTOCMDEXTERN char_u *p_ei; /* 'eventignore' */#endifEXTERN int p_ek; /* 'esckeys' */EXTERN int p_exrc; /* 'exrc' */#ifdef FEAT_MBYTEEXTERN char_u *p_fencs; /* 'fileencodings' */#endifEXTERN char_u *p_ffs; /* 'fileformats' */#ifdef FEAT_FOLDINGEXTERN char_u *p_fcl; /* 'foldclose' */EXTERN long p_fdls; /* 'foldlevelstart' */EXTERN char_u *p_fdo; /* 'foldopen' */EXTERN unsigned fdo_flags;# ifdef IN_OPTION_Cstatic char *(p_fdo_values[]) = {"all", "block", "hor", "mark", "percent", "quickfix", "search", "tag", "insert", "undo", "jump", NULL};# endif# define FDO_ALL 0x001# define FDO_BLOCK 0x002# define FDO_HOR 0x004# define FDO_MARK 0x008# define FDO_PERCENT 0x010# define FDO_QUICKFIX 0x020# define FDO_SEARCH 0x040# define FDO_TAG 0x080# define FDO_INSERT 0x100# define FDO_UNDO 0x200# define FDO_JUMP 0x400#endifEXTERN char_u *p_fp; /* 'formatprg' */#ifdef HAVE_FSYNCEXTERN int p_fs; /* 'fsync' */#endifEXTERN int p_gd; /* 'gdefault' */#ifdef FEAT_PRINTEREXTERN char_u *p_pdev; /* 'printdevice' */# ifdef FEAT_POSTSCRIPTEXTERN char_u *p_penc; /* 'printencoding' */EXTERN char_u *p_pexpr; /* 'printexpr' */# ifdef FEAT_MBYTEEXTERN char_u *p_pmfn; /* 'printmbfont' */EXTERN char_u *p_pmcs; /* 'printmbcharset' */# endif# endifEXTERN char_u *p_pfn; /* 'printfont' */EXTERN char_u *p_popt; /* 'printoptions' */EXTERN char_u *p_header; /* 'printheader' */#endifEXTERN int p_prompt; /* 'prompt' */#ifdef FEAT_GUIEXTERN char_u *p_guifont; /* 'guifont' */# ifdef FEAT_XFONTSETEXTERN char_u *p_guifontset; /* 'guifontset' */# endif# ifdef FEAT_MBYTEEXTERN char_u *p_guifontwide; /* 'guifontwide' */# endifEXTERN int p_guipty; /* 'guipty' */#endif#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)EXTERN long p_ghr; /* 'guiheadroom' */#endif#ifdef CURSOR_SHAPELines 1–500 of 1063. Load more
/* vi:set ts=8 sts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar * * Do ":help uganda" in Vim to read copying and usage conditions. * Do ":help credits" in Vim to see a list of people who contributed. */ /* * option.h: definition of global variables for settable options */ /* * Default values for 'errorformat'. * The "%f|%l| %m" one is used for when the contents of the quickfix window is * written to a file. */ #ifdef AMIGA # define DFLT_EFM "%f>%l:%c:%t:%n:%m,%f:%l: %t%*\\D%n: %m,%f %l %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f:%l:%m,%f|%l| %m" #else # if defined(MSDOS) || defined(WIN3264) # define DFLT_EFM "%f(%l) : %t%*\\D%n: %m,%*[^\"]\"%f\"%*\\D%l: %m,%f(%l) : %m,%*[^ ] %f %l: %m,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,%f|%l| %m" # else # if defined(__EMX__) /* put most common here (i.e. gcc format) at front */ # define DFLT_EFM "%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f(%l:%c) : %m,%f|%l| %m" # else # if defined(__QNX__) # define DFLT_EFM "%f(%l):%*[^WE]%t%*\\D%n:%m,%f|%l| %m" # else # ifdef VMS # define DFLT_EFM "%A%p^,%C%%CC-%t-%m,%Cat line number %l in file %f,%f|%l| %m" # else /* Unix, probably */ # ifdef EBCDIC #define DFLT_EFM "%*[^ ] %*[^ ] %f:%l%*[ ]%m,%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%DMaking %*\\a in %f,%f|%l| %m" # else #define DFLT_EFM "%*[^\"]\"%f\"%*\\D%l: %m,\"%f\"%*\\D%l: %m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,\"%f\"\\, line %l%*\\D%c%*[^ ] %m,%D%*\\a[%*\\d]: Entering directory `%f',%X%*\\a[%*\\d]: Leaving directory `%f',%D%*\\a: Entering directory `%f',%X%*\\a: Leaving directory `%f',%DMaking %*\\a in %f,%f|%l| %m" # endif # endif # endif # endif # endif #endif #define DFLT_GREPFORMAT "%f:%l:%m,%f:%l%m,%f %l%m" /* default values for b_p_ff 'fileformat' and p_ffs 'fileformats' */ #define FF_DOS "dos" #define FF_MAC "mac" #define FF_UNIX "unix" #ifdef USE_CRNL # define DFLT_FF "dos" # define DFLT_FFS_VIM "dos,unix" # define DFLT_FFS_VI "dos,unix" /* also autodetect in compatible mode */ # define DFLT_TEXTAUTO TRUE #else # ifdef USE_CR # define DFLT_FF "mac" # define DFLT_FFS_VIM "mac,unix,dos" # define DFLT_FFS_VI "mac,unix,dos" # define DFLT_TEXTAUTO TRUE # else # define DFLT_FF "unix" # define DFLT_FFS_VIM "unix,dos" # ifdef __CYGWIN__ # define DFLT_FFS_VI "unix,dos" /* Cygwin always needs file detection */ # define DFLT_TEXTAUTO TRUE # else # define DFLT_FFS_VI "" # define DFLT_TEXTAUTO FALSE # endif # endif #endif #ifdef FEAT_MBYTE /* Possible values for 'encoding' */ # define ENC_UCSBOM "ucs-bom" /* check for BOM at start of file */ /* default value for 'encoding' */ # define ENC_DFLT "latin1" #endif /* end-of-line style */ #define EOL_UNKNOWN -1 /* not defined yet */ #define EOL_UNIX 0 /* NL */ #define EOL_DOS 1 /* CR NL */ #define EOL_MAC 2 /* CR */ /* Formatting options for p_fo 'formatoptions' */ #define FO_WRAP 't' #define FO_WRAP_COMS 'c' #define FO_RET_COMS 'r' #define FO_OPEN_COMS 'o' #define FO_Q_COMS 'q' #define FO_Q_NUMBER 'n' #define FO_Q_SECOND '2' #define FO_INS_VI 'v' #define FO_INS_LONG 'l' #define FO_INS_BLANK 'b' #define FO_MBYTE_BREAK 'm' /* break before/after multi-byte char */ #define FO_MBYTE_JOIN 'M' /* no space before/after multi-byte char */ #define FO_MBYTE_JOIN2 'B' /* no space between multi-byte chars */ #define FO_ONE_LETTER '1' #define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */ #define FO_AUTO 'a' /* automatic formatting */ #define DFLT_FO_VI "vt" #define DFLT_FO_VIM "tcq" #define FO_ALL "tcroq2vlb1mMBn,aw" /* for do_set() */ /* characters for the p_cpo option: */ #define CPO_ALTREAD 'a' /* ":read" sets alternate file name */ #define CPO_ALTWRITE 'A' /* ":write" sets alternate file name */ #define CPO_BAR 'b' /* "\|" ends a mapping */ #define CPO_BSLASH 'B' /* backslash in mapping is not special */ #define CPO_SEARCH 'c' #define CPO_CONCAT 'C' /* Don't concatenate sourced lines */ #define CPO_DOTTAG 'd' /* "./tags" in 'tags' is in current dir */ #define CPO_DIGRAPH 'D' /* No digraph after "r", "f", etc. */ #define CPO_EXECBUF 'e' #define CPO_EMPTYREGION 'E' /* operating on empty region is an error */ #define CPO_FNAMER 'f' /* set file name for ":r file" */ #define CPO_FNAMEW 'F' /* set file name for ":w file" */ #define CPO_GOTO1 'g' /* goto line 1 for ":edit" */ #define CPO_INSEND 'H' /* "I" inserts before last blank in line */ #define CPO_INTMOD 'i' /* interrupt a read makes buffer modified */ #define CPO_INDENT 'I' /* remove auto-indent more often */ #define CPO_JOINSP 'j' /* only use two spaces for join after '.' */ #define CPO_ENDOFSENT 'J' /* need two spaces to detect end of sentence */ #define CPO_KEYCODE 'k' /* don't recognize raw key code in mappings */ #define CPO_KOFFSET 'K' /* don't wait for key code in mappings */ #define CPO_LITERAL 'l' /* take char after backslash in [] literal */ #define CPO_LISTWM 'L' /* 'list' changes wrapmargin */ #define CPO_SHOWMATCH 'm' #define CPO_MATCHBSL 'M' /* "%" ignores use of backslashes */ #define CPO_NUMCOL 'n' /* 'number' column also used for text */ #define CPO_LINEOFF 'o' #define CPO_OVERNEW 'O' /* silently overwrite new file */ #define CPO_LISP 'p' /* 'lisp' indenting */ #define CPO_FNAMEAPP 'P' /* set file name for ":w >>file" */ #define CPO_JOINCOL 'q' /* with "3J" use column after first join */ #define CPO_REDO 'r' #define CPO_REMMARK 'R' /* remove marks when filtering */ #define CPO_BUFOPT 's' #define CPO_BUFOPTGLOB 'S' #define CPO_TAGPAT 't' #define CPO_UNDO 'u' /* "u" undoes itself */ #define CPO_BACKSPACE 'v' /* "v" keep deleted text */ #define CPO_CW 'w' /* "cw" only changes one blank */ #define CPO_FWRITE 'W' /* "w!" doesn't overwrite readonly files */ #define CPO_ESC 'x' #define CPO_REPLCNT 'X' /* "R" with a count only deletes chars once */ #define CPO_YANK 'y' #define CPO_KEEPRO 'Z' /* don't reset 'readonly' on ":w!" */ #define CPO_DOLLAR '$' #define CPO_FILTER '!' #define CPO_MATCH '%' #define CPO_STAR '*' /* ":*" means ":@" */ #define CPO_PLUS '+' /* ":write file" resets 'modified' */ #define CPO_MINUS '-' /* "9-" fails at and before line 9 */ #define CPO_SPECI '<' /* don't recognize <> in mappings */ #define CPO_REGAPPEND '>' /* insert NL when appending to a register */ /* POSIX flags */ #define CPO_HASH '#' /* "D", "o" and "O" do not use a count */ #define CPO_PARA '{' /* "{" is also a paragraph boundary */ #define CPO_TSIZE '|' /* $LINES and $COLUMNS overrule term size */ #define CPO_PRESERVE '&' /* keep swap file after :preserve */ #define CPO_SUBPERCENT '/' /* % in :s string uses previous one */ #define CPO_BACKSL '\\' /* \ is not special in [] */ #define CPO_CHDIR '.' /* don't chdir if buffer is modified */ /* default values for Vim, Vi and POSIX */ #define CPO_VIM "aABceFs" #define CPO_VI "aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>" #define CPO_ALL "aAbBcCdDeEfFgHiIjJkKlLmMnoOpPqrRsStuvwWxXyZ$!%*-+<>#{|&/\\." /* characters for p_ww option: */ #define WW_ALL "bshl<>[],~" /* characters for p_mouse option: */ #define MOUSE_NORMAL 'n' /* use mouse in Normal mode */ #define MOUSE_VISUAL 'v' /* use mouse in Visual/Select mode */ #define MOUSE_INSERT 'i' /* use mouse in Insert mode */ #define MOUSE_COMMAND 'c' /* use mouse in Command-line mode */ #define MOUSE_HELP 'h' /* use mouse in help buffers */ #define MOUSE_RETURN 'r' /* use mouse for hit-return message */ #define MOUSE_A "nvich" /* used for 'a' flag */ #define MOUSE_ALL "anvichr" /* all possible characters */ #define MOUSE_NONE ' ' /* don't use Visual selection */ #define MOUSE_NONEF 'x' /* forced modeless selection */ /* characters for p_shm option: */ #define SHM_RO 'r' /* readonly */ #define SHM_MOD 'm' /* modified */ #define SHM_FILE 'f' /* (file 1 of 2) */ #define SHM_LAST 'i' /* last line incomplete */ #define SHM_TEXT 'x' /* tx instead of textmode */ #define SHM_LINES 'l' /* "L" instead of "lines" */ #define SHM_NEW 'n' /* "[New]" instead of "[New file]" */ #define SHM_WRI 'w' /* "[w]" instead of "written" */ #define SHM_A "rmfixlnw" /* represented by 'a' flag */ #define SHM_WRITE 'W' /* don't use "written" at all */ #define SHM_TRUNC 't' /* trunctate file messages */ #define SHM_TRUNCALL 'T' /* trunctate all messages */ #define SHM_OVER 'o' /* overwrite file messages */ #define SHM_OVERALL 'O' /* overwrite more messages */ #define SHM_SEARCH 's' /* no search hit bottom messages */ #define SHM_ATTENTION 'A' /* no ATTENTION messages */ #define SHM_INTRO 'I' /* intro messages */ #define SHM_ALL "rmfixlnwaWtToOsAI" /* all possible flags for 'shm' */ /* characters for p_go: */ #define GO_ASEL 'a' /* autoselect */ #define GO_ASELML 'A' /* autoselect modeless selection */ #define GO_BOT 'b' /* use bottom scrollbar */ #define GO_CONDIALOG 'c' /* use console dialog */ #define GO_TABLINE 'e' /* may show tabline */ #define GO_FORG 'f' /* start GUI in foreground */ #define GO_GREY 'g' /* use grey menu items */ #define GO_HORSCROLL 'h' /* flexible horizontal scrolling */ #define GO_ICON 'i' /* use Vim icon */ #define GO_LEFT 'l' /* use left scrollbar */ #define GO_VLEFT 'L' /* left scrollbar with vert split */ #define GO_MENUS 'm' /* use menu bar */ #define GO_NOSYSMENU 'M' /* don't source system menu */ #define GO_POINTER 'p' /* pointer enter/leave callbacks */ #define GO_RIGHT 'r' /* use right scrollbar */ #define GO_VRIGHT 'R' /* right scrollbar with vert split */ #define GO_TEAROFF 't' /* add tear-off menu items */ #define GO_TOOLBAR 'T' /* add toolbar */ #define GO_FOOTER 'F' /* add footer */ #define GO_VERTICAL 'v' /* arrange dialog buttons vertically */ #define GO_ALL "aAbcefFghilmMprtTv" /* all possible flags for 'go' */ /* flags for 'comments' option */ #define COM_NEST 'n' /* comments strings nest */ #define COM_BLANK 'b' /* needs blank after string */ #define COM_START 's' /* start of comment */ #define COM_MIDDLE 'm' /* middle of comment */ #define COM_END 'e' /* end of comment */ #define COM_AUTO_END 'x' /* last char of end closes comment */ #define COM_FIRST 'f' /* first line comment only */ #define COM_LEFT 'l' /* left adjusted */ #define COM_RIGHT 'r' /* right adjusted */ #define COM_NOBACK 'O' /* don't use for "O" command */ #define COM_ALL "nbsmexflrO" /* all flags for 'comments' option */ #define COM_MAX_LEN 50 /* maximum length of a part */ /* flags for 'statusline' option */ #define STL_FILEPATH 'f' /* path of file in buffer */ #define STL_FULLPATH 'F' /* full path of file in buffer */ #define STL_FILENAME 't' /* last part (tail) of file path */ #define STL_COLUMN 'c' /* column og cursor*/ #define STL_VIRTCOL 'v' /* virtual column */ #define STL_VIRTCOL_ALT 'V' /* - with 'if different' display */ #define STL_LINE 'l' /* line number of cursor */ #define STL_NUMLINES 'L' /* number of lines in buffer */ #define STL_BUFNO 'n' /* current buffer number */ #define STL_KEYMAP 'k' /* 'keymap' when active */ #define STL_OFFSET 'o' /* offset of character under cursor*/ #define STL_OFFSET_X 'O' /* - in hexadecimal */ #define STL_BYTEVAL 'b' /* byte value of character */ #define STL_BYTEVAL_X 'B' /* - in hexadecimal */ #define STL_ROFLAG 'r' /* readonly flag */ #define STL_ROFLAG_ALT 'R' /* - other display */ #define STL_HELPFLAG 'h' /* window is showing a help file */ #define STL_HELPFLAG_ALT 'H' /* - other display */ #define STL_FILETYPE 'y' /* 'filetype' */ #define STL_FILETYPE_ALT 'Y' /* - other display */ #define STL_PREVIEWFLAG 'w' /* window is showing the preview buf */ #define STL_PREVIEWFLAG_ALT 'W' /* - other display */ #define STL_MODIFIED 'm' /* modified flag */ #define STL_MODIFIED_ALT 'M' /* - other display */ #define STL_PERCENTAGE 'p' /* percentage through file */ #define STL_ALTPERCENT 'P' /* percentage as TOP BOT ALL or NN% */ #define STL_ARGLISTSTAT 'a' /* argument list status as (x of y) */ #define STL_PAGENUM 'N' /* page number (when printing)*/ #define STL_VIM_EXPR '{' /* start of expression to substitute */ #define STL_MIDDLEMARK '=' /* separation between left and right */ #define STL_TRUNCMARK '<' /* truncation mark if line is too long*/ #define STL_USER_HL '*' /* highlight from (User)1..9 or 0 */ #define STL_HIGHLIGHT '#' /* highlight name */ #define STL_TABPAGENR 'T' /* tab page label nr */ #define STL_TABCLOSENR 'X' /* tab page close nr */ #define STL_ALL ((char_u *) "fFtcvVlLknoObBrRhHmYyWwMpPaN{#") /* flags used for parsed 'wildmode' */ #define WIM_FULL 1 #define WIM_LONGEST 2 #define WIM_LIST 4 /* arguments for can_bs() */ #define BS_INDENT 'i' /* "Indent" */ #define BS_EOL 'o' /* "eOl" */ #define BS_START 's' /* "Start" */ #define LISPWORD_VALUE "defun,define,defmacro,set!,lambda,if,case,let,flet,let*,letrec,do,do*,define-syntax,let-syntax,letrec-syntax,destructuring-bind,defpackage,defparameter,defstruct,deftype,defvar,do-all-symbols,do-external-symbols,do-symbols,dolist,dotimes,ecase,etypecase,eval-when,labels,macrolet,multiple-value-bind,multiple-value-call,multiple-value-prog1,multiple-value-setq,prog1,progv,typecase,unless,unwind-protect,when,with-input-from-string,with-open-file,with-open-stream,with-output-to-string,with-package-iterator,define-condition,handler-bind,handler-case,restart-bind,restart-case,with-simple-restart,store-value,use-value,muffle-warning,abort,continue,with-slots,with-slots*,with-accessors,with-accessors*,defclass,defmethod,print-unreadable-object" /* * The following are actual variables for the options */ #ifdef FEAT_RIGHTLEFT EXTERN long p_aleph; /* 'aleph' */ #endif #ifdef FEAT_AUTOCHDIR EXTERN int p_acd; /* 'autochdir' */ #endif #ifdef FEAT_MBYTE EXTERN char_u *p_ambw; /* 'ambiwidth' */ #endif #if defined(FEAT_GUI) && defined(MACOS_X) EXTERN int *p_antialias; /* 'antialias' */ #endif EXTERN int p_ar; /* 'autoread' */ EXTERN int p_aw; /* 'autowrite' */ EXTERN int p_awa; /* 'autowriteall' */ EXTERN char_u *p_bs; /* 'backspace' */ EXTERN char_u *p_bg; /* 'background' */ EXTERN int p_bk; /* 'backup' */ EXTERN char_u *p_bkc; /* 'backupcopy' */ EXTERN unsigned bkc_flags; #ifdef IN_OPTION_C static char *(p_bkc_values[]) = {"yes", "auto", "no", "breaksymlink", "breakhardlink", NULL}; #endif # define BKC_YES 0x001 # define BKC_AUTO 0x002 # define BKC_NO 0x004 # define BKC_BREAKSYMLINK 0x008 # define BKC_BREAKHARDLINK 0x010 EXTERN char_u *p_bdir; /* 'backupdir' */ EXTERN char_u *p_bex; /* 'backupext' */ #ifdef FEAT_WILDIGN EXTERN char_u *p_bsk; /* 'backupskip' */ #endif #ifdef FEAT_BEVAL EXTERN long p_bdlay; /* 'balloondelay' */ EXTERN int p_beval; /* 'ballooneval' */ # ifdef FEAT_EVAL EXTERN char_u *p_bexpr; # endif #endif #ifdef FEAT_BROWSE EXTERN char_u *p_bsdir; /* 'browsedir' */ #endif #ifdef MSDOS EXTERN int p_biosk; /* 'bioskey' */ EXTERN int p_consk; /* 'conskey' */ #endif #ifdef FEAT_LINEBREAK EXTERN char_u *p_breakat; /* 'breakat' */ #endif #ifdef FEAT_MBYTE EXTERN char_u *p_cmp; /* 'casemap' */ EXTERN unsigned cmp_flags; # ifdef IN_OPTION_C static char *(p_cmp_values[]) = {"internal", "keepascii", NULL}; # endif # define CMP_INTERNAL 0x001 # define CMP_KEEPASCII 0x002 #endif #ifdef FEAT_MBYTE EXTERN char_u *p_enc; /* 'encoding' */ EXTERN int p_deco; /* 'delcombine' */ # ifdef FEAT_EVAL EXTERN char_u *p_ccv; /* 'charconvert' */ # endif #endif #ifdef FEAT_CMDWIN EXTERN char_u *p_cedit; /* 'cedit' */ EXTERN long p_cwh; /* 'cmdwinheight' */ #endif #ifdef FEAT_CLIPBOARD EXTERN char_u *p_cb; /* 'clipboard' */ #endif EXTERN long p_ch; /* 'cmdheight' */ #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG) EXTERN int p_confirm; /* 'confirm' */ #endif EXTERN int p_cp; /* 'compatible' */ #ifdef FEAT_INS_EXPAND EXTERN char_u *p_cot; /* 'completeopt' */ EXTERN long p_ph; /* 'pumheight' */ #endif EXTERN char_u *p_cpo; /* 'cpoptions' */ #ifdef FEAT_CSCOPE EXTERN char_u *p_csprg; /* 'cscopeprg' */ # ifdef FEAT_QUICKFIX EXTERN char_u *p_csqf; /* 'cscopequickfix' */ # define CSQF_CMDS "sgdctefi" # define CSQF_FLAGS "+-0" # endif EXTERN int p_cst; /* 'cscopetag' */ EXTERN long p_csto; /* 'cscopetagorder' */ EXTERN long p_cspc; /* 'cscopepathcomp' */ EXTERN int p_csverbose; /* 'cscopeverbose' */ #endif EXTERN char_u *p_debug; /* 'debug' */ #ifdef FEAT_FIND_ID EXTERN char_u *p_def; /* 'define' */ EXTERN char_u *p_inc; #endif #ifdef FEAT_DIFF EXTERN char_u *p_dip; /* 'diffopt' */ # ifdef FEAT_EVAL EXTERN char_u *p_dex; /* 'diffexpr' */ # endif #endif #ifdef FEAT_INS_EXPAND EXTERN char_u *p_dict; /* 'dictionary' */ #endif #ifdef FEAT_DIGRAPHS EXTERN int p_dg; /* 'digraph' */ #endif EXTERN char_u *p_dir; /* 'directory' */ EXTERN char_u *p_dy; /* 'display' */ EXTERN unsigned dy_flags; #ifdef IN_OPTION_C static char *(p_dy_values[]) = {"lastline", "uhex", NULL}; #endif #define DY_LASTLINE 0x001 #define DY_UHEX 0x002 EXTERN int p_ed; /* 'edcompatible' */ #ifdef FEAT_VERTSPLIT EXTERN char_u *p_ead; /* 'eadirection' */ #endif EXTERN int p_ea; /* 'equalalways' */ EXTERN char_u *p_ep; /* 'equalprg' */ EXTERN int p_eb; /* 'errorbells' */ #ifdef FEAT_QUICKFIX EXTERN char_u *p_ef; /* 'errorfile' */ EXTERN char_u *p_efm; /* 'errorformat' */ EXTERN char_u *p_gefm; /* 'grepformat' */ EXTERN char_u *p_gp; /* 'grepprg' */ #endif #ifdef FEAT_AUTOCMD EXTERN char_u *p_ei; /* 'eventignore' */ #endif EXTERN int p_ek; /* 'esckeys' */ EXTERN int p_exrc; /* 'exrc' */ #ifdef FEAT_MBYTE EXTERN char_u *p_fencs; /* 'fileencodings' */ #endif EXTERN char_u *p_ffs; /* 'fileformats' */ #ifdef FEAT_FOLDING EXTERN char_u *p_fcl; /* 'foldclose' */ EXTERN long p_fdls; /* 'foldlevelstart' */ EXTERN char_u *p_fdo; /* 'foldopen' */ EXTERN unsigned fdo_flags; # ifdef IN_OPTION_C static char *(p_fdo_values[]) = {"all", "block", "hor", "mark", "percent", "quickfix", "search", "tag", "insert", "undo", "jump", NULL}; # endif # define FDO_ALL 0x001 # define FDO_BLOCK 0x002 # define FDO_HOR 0x004 # define FDO_MARK 0x008 # define FDO_PERCENT 0x010 # define FDO_QUICKFIX 0x020 # define FDO_SEARCH 0x040 # define FDO_TAG 0x080 # define FDO_INSERT 0x100 # define FDO_UNDO 0x200 # define FDO_JUMP 0x400 #endif EXTERN char_u *p_fp; /* 'formatprg' */ #ifdef HAVE_FSYNC EXTERN int p_fs; /* 'fsync' */ #endif EXTERN int p_gd; /* 'gdefault' */ #ifdef FEAT_PRINTER EXTERN char_u *p_pdev; /* 'printdevice' */ # ifdef FEAT_POSTSCRIPT EXTERN char_u *p_penc; /* 'printencoding' */ EXTERN char_u *p_pexpr; /* 'printexpr' */ # ifdef FEAT_MBYTE EXTERN char_u *p_pmfn; /* 'printmbfont' */ EXTERN char_u *p_pmcs; /* 'printmbcharset' */ # endif # endif EXTERN char_u *p_pfn; /* 'printfont' */ EXTERN char_u *p_popt; /* 'printoptions' */ EXTERN char_u *p_header; /* 'printheader' */ #endif EXTERN int p_prompt; /* 'prompt' */ #ifdef FEAT_GUI EXTERN char_u *p_guifont; /* 'guifont' */ # ifdef FEAT_XFONTSET EXTERN char_u *p_guifontset; /* 'guifontset' */ # endif # ifdef FEAT_MBYTE EXTERN char_u *p_guifontwide; /* 'guifontwide' */ # endif EXTERN int p_guipty; /* 'guipty' */ #endif #if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) EXTERN long p_ghr; /* 'guiheadroom' */ #endif #ifdef CURSOR_SHAPE