?? inform.vim
字號:
" Vim syntax file" Language: Inform" Maintainer: Stephen Thomas (stephent@insignia.com)" Last Change: 2001 May 10" Quit when a syntax file was already loadedif version < 600 syntax clearelseif exists("b:current_syntax") finishendif" A bunch of useful Inform keywords. First, case insensitive stuffsyn case ignoresyn keyword informDefine Constantsyn keyword informType Array Attribute Class Global Nearbysyn keyword informType Object Property String Routinesyn keyword informInclude Import Include Link Replace System_filesyn keyword informPreCondit End Endif Ifdef Ifndef Iftrue Iffalse Ifv3 Ifv5syn keyword informPreCondit Ifnotsyn keyword informPreProc Abbreviate Default Fake_action Lowstringsyn keyword informPreProc Message Release Serial Statusline Stub Switchessyn keyword informPreProc Trace Zcharactersyn keyword informGramPreProc contained Verb Extendif !exists("inform_highlight_simple") syn keyword informLibAttrib absent animate clothing concealed container syn keyword informLibAttrib door edible enterable female general light syn keyword informLibAttrib lockable locked male moved neuter on open syn keyword informLibAttrib openable pluralname proper scenery scored syn keyword informLibAttrib static supporter switchable talkable syn keyword informLibAttrib visited workflag worn syn match informLibAttrib "\<transparent\>" syn keyword informLibProp e_to se_to s_to sw_to w_to nw_to n_to ne_to syn keyword informLibProp u_to d_to in_to out_to before after life syn keyword informLibProp door_to with_key door_dir invent plural syn keyword informLibProp add_to_scope list_together react_before syn keyword informLibProp react_after grammar orders initial when_open syn keyword informLibProp when_closed when_on when_off description syn keyword informLibProp describe article cant_go found_in time_left syn keyword informLibProp number time_out daemon each_turn capacity syn keyword informLibProp name short_name short_name_indef parse_name syn keyword informLibProp articles inside_description syn keyword informLibObj e_obj se_obj s_obj sw_obj w_obj nw_obj n_obj syn keyword informLibObj ne_obj u_obj d_obj in_obj out_obj compass syn keyword informLibObj thedark selfobj player location second actor syn keyword informLibObj noun syn keyword informLibRoutine Achieved AddToScope AllowPushDir CDefArt syn keyword informLibRoutine ChangeDefault ChangePlayer DefArt DoMenu syn keyword informLibRoutine EnglishNumber HasLightSource InDefArt syn keyword informLibRoutine Locale LoopOverScope NextWord syn keyword informLibRoutine NextWordStopped NounDomain OffersLight syn keyword informLibRoutine PlaceInScope PlayerTo PrintShortName syn keyword informLibRoutine ScopeWithin SetTime StartDaemon StartTimer syn keyword informLibRoutine StopDaemon StopTimer TestScope TryNumber syn keyword informLibRoutine UnsignedCompare WordAddress WordLength syn keyword informLibRoutine WriteListFrom YesOrNo ZRegion RunRoutines syn keyword informLibRoutine AfterLife AfterPrompt Amusing BeforeParsing syn keyword informLibRoutine ChooseObjects DarkToDark DeathMessage syn keyword informLibRoutine GamePostRoutine GamePreRoutine Initialise syn keyword informLibRoutine InScope LookRoutine NewRoom ParseNoun syn keyword informLibRoutine ParseNumber ParserError PrintRank PrintVerb syn keyword informLibRoutine PrintTaskName TimePasses UnknownVerb syn keyword informLibAction Quit Restart Restore Verify Save syn keyword informLibAction ScriptOn ScriptOff Pronouns Score syn keyword informLibAction Fullscore LMode1 LMode2 LMode3 syn keyword informLibAction NotifyOn NotifyOff Version Places syn keyword informLibAction Objects TraceOn TraceOff TraceLevel syn keyword informLibAction ActionsOn ActionsOff RoutinesOn syn keyword informLibAction RoutinesOff TimersOn TimersOff syn keyword informLibAction CommandsOn CommandsOff CommandsRead syn keyword informLibAction Predictable XPurloin XAbstract XTree syn keyword informLibAction Scope Goto Gonear Inv InvTall InvWide syn keyword informLibAction Take Drop Remove PutOn Insert Transfer syn keyword informLibAction Empty Enter Exit GetOff Go Goin Look syn keyword informLibAction Examine Search Give Show Unlock Lock syn keyword informLibAction SwitchOn SwitchOff Open Close Disrobe syn keyword informLibAction Wear Eat Yes No Burn Pray Wake syn keyword informLibAction WakeOther Consult Kiss Think Smell syn keyword informLibAction Listen Taste Touch Dig Cut Jump syn keyword informLibAction JumpOver Tie Drink Fill Sorry Strong syn keyword informLibAction Mild Attack Swim Swing Blow Rub Set syn keyword informLibAction SetTo WaveHands Wave Pull Push PushDir syn keyword informLibAction Turn Squeeze LookUnder ThrowAt Tell syn keyword informLibAction Answer Buy Ask AskFor Sing Climb Wait syn keyword informLibAction Sleep LetGo Receive ThrownAt Order syn keyword informLibAction TheSame PluralFound Miscellany Prompt syn keyword informLibVariable keep_silent deadflag action special_number syn keyword informLibVariable consult_from consult_words etype verb_num syn keyword informLibVariable verb_word the_time real_location c_style syn keyword informLibVariable parser_one parser_two listing_together wn syn keyword informLibVariable parser_action scope_stage scope_reason syn keyword informLibVariable action_to_be menu_item item_name item_width syn keyword informLibVariable lm_o lm_n inventory_style task_scores syn keyword informLibConst AMUSING_PROVIDED DEBUG Headline MAX_CARRIED syn keyword informLibConst MAX_SCORE MAX_TIMERS NO_PLACES NUMBER_TASKS syn keyword informLibConst OBJECT_SCORE ROOM_SCORE SACK_OBJECT Story syn keyword informLibConst TASKS_PROVIDED WITHOUT_DIRECTIONS syn keyword informLibConst NEWLINE_BIT INDENT_BIT FULLINV_BIT ENGLISH_BIT syn keyword informLibConst RECURSE_BIT ALWAYS_BIT TERSE_BIT PARTINV_BIT syn keyword informLibConst DEFART_BIT WORKFLAG_BIT ISARE_BIT CONCEAL_BIT syn keyword informLibConst PARSING_REASON TALKING_REASON EACHTURN_REASON syn keyword informLibConst REACT_BEFORE_REASON REACT_AFTER_REASON syn keyword informLibConst TESTSCOPE_REASON LOOPOVERSCOPE_REASON syn keyword informLibConst STUCK_PE UPTO_PE NUMBER_PE CANTSEE_PE TOOLIT_PE syn keyword informLibConst NOTHELD_PE MULTI_PE MMULTI_PE VAGUE_PE EXCEPT_PE syn keyword informLibConst ANIMA_PE VERB_PE SCENERY_PE ITGONE_PE syn keyword informLibConst JUNKAFTER_PE TOOFEW_PE NOTHING_PE ASKSCOPE_PEendif" Now the case sensitive stuff.syntax case matchsyn keyword informSysFunc child children elder indirect parent randomsyn keyword informSysFunc sibling younger youngest metaclassif exists("inform_highlight_glulx") syn keyword informSysFunc glkendifsyn keyword informSysConst adjectives_table actions_table classes_tablesyn keyword informSysConst identifiers_table preactions_table version_numbersyn keyword informSysConst largest_object strings_offset code_offsetsyn keyword informSysConst dict_par1 dict_par2 dict_par3syn keyword informSysConst actual_largest_object static_memory_offsetsyn keyword informSysConst array_names_offset readable_memory_offsetsyn keyword informSysConst cpv__start cpv__end ipv__start ipv__endsyn keyword informSysConst array__start array__end lowest_attribute_numbersyn keyword informSysConst highest_attribute_number attribute_names_arraysyn keyword informSysConst lowest_property_number highest_property_numbersyn keyword informSysConst property_names_array lowest_action_numbersyn keyword informSysConst highest_action_number action_names_arraysyn keyword informSysConst lowest_fake_action_number highest_fake_action_numbersyn keyword informSysConst fake_action_names_array lowest_routine_numbersyn keyword informSysConst highest_routine_number routines_arraysyn keyword informSysConst routine_names_array routine_flags_arraysyn keyword informSysConst lowest_global_number highest_global_number globals_arraysyn keyword informSysConst global_names_array global_flags_arraysyn keyword informSysConst lowest_array_number highest_array_number arrays_arraysyn keyword informSysConst array_names_array array_flags_array lowest_constant_numbersyn keyword informSysConst highest_constant_number constants_array constant_names_arraysyn keyword informSysConst lowest_class_number highest_class_number class_objects_arraysyn keyword informSysConst lowest_object_number highest_object_numbersyn keyword informConditional default else if switchsyn keyword informRepeat break continue do for objectloop until whilesyn keyword informStatement box font give inversion jump move new_linesyn keyword informStatement print print_ret quit read remove restore returnsyn keyword informStatement rfalse rtrue save spaces string stylesyn keyword informOperator roman reverse bold underline fixed on off tosyn keyword informOperator near fromsyn keyword informKeyword dictionary symbols objects verbs assemblysyn keyword informKeyword expressions lines tokens linker on off alias longsyn keyword informKeyword additive score time string table data initial
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -