📄 setl.vim
字号:
" Vim syntax file" Language: SETL (dB)" Maintainer: Alex Poylisher <sher@komkon.org>" Last Change: 2001 May 10" The SETL documentation is at "http://www-robotics.eecs.lehigh.edu/~bacon/setl-doc.html"." For version 5.x: Clear all syntax items" For version 6.x: Quit when a syntax file was already loadedif version < 600 syntax clearelseif exists("b:current_syntax") finishendif" SETL is entirely case-insensitive.syn case ignore" The SETL reserved words.syn keyword setlKeyword const varsyn keyword setlConditional case else elsif if thensyn keyword setlKeyword endsyn keyword setlSpecial om last_error command_line command_namesyn keyword setlInclude #includesyn keyword setlBoolean true falsesyn keyword setlOperator abs accept acos and any arb asin assert atansyn keyword setlOperator atan2 bit_and bit_not bit_or bit_xorsyn keyword setlOperator call callout ceil char chdir clear_errorsyn keyword setlOperator clock close cos cosh date denotypesyn keyword setlOperator div domain dup dup2 eof exec exp fdatesyn keyword setlOperator fexists filename fileno filter fix float fixedsyn keyword setlOperator floating floor flush fork from fromb fromesyn keyword setlOperator fsize get geta getb getc getchar getegidsyn keyword setlOperator getenv geteuid getfile getgid getline getnsyn keyword setlOperator getpgrp gets getuid getwd gmarksyn keyword setlOperator gsub hex hostaddr hostname ichar implsyn keyword setlOperator in incs ip_addresses ip_names is_atomsyn keyword setlOperator is_boolean is_integer is_map is_mmapsyn keyword setlOperator is_numeric is_om is_real is_routinesyn keyword setlOperator is_set is_smap is_string is_tuplesyn keyword setlOperator is_open kill len less lessf lexistssyn keyword setlOperator link log lpad mark match max mem_allocsyn keyword setlOperator mem_copy mem_free min mod newat not notanysyn keyword setlOperator notin npow nprint nprinta odd opensyn keyword setlOperator or pack_char pack_short pack_int pack_longsyn keyword setlOperator pack_float pack_double pack_long_doublesyn keyword setlOperator peekc peekchar peer_address peer_namesyn keyword setlOperator peer_port pexists pid pipe pipe_from_childsyn keyword setlOperator port pow pretty print printa pump putsyn keyword setlOperator puta putb putc putchar putenv putfilesyn keyword setlOperator putline outs random range rany rbreak rlensyn keyword setlOperator rmatch rnotany rspan read reada readlinksyn keyword setlOperator reads recv recvfrom recv_fd rem reversesyn keyword setlOperator rewind round routine rpad seeksyn keyword setlOperator select send sendto send_fd setenv setgidsyn keyword setlOperator setpgrp setrandom setuid set_intslashsyn keyword setlOperator set_magic shutdown sign sin sinh spansyn keyword setlOperator split sqrt store_char store_short store_intsyn keyword setlOperator store_long store_float store_doublesyn keyword setlOperator store_long_double store_string store_c_stringsyn keyword setlOperator str strad sub subset symlink system sys_readsyn keyword setlOperator sys_write tan tanh tie time tmpnamsyn keyword setlOperator to_lower to_upper tod type umask ungetcsyn keyword setlOperator ungetchar unhex unpack_char unpack_shortsyn keyword setlOperator unpack_int unpack_long unpack_floatsyn keyword setlOperator unpack_double unpack_long_doublesyn keyword setlOperator unpretty unsetenv unstr wait whole withsyn keyword setlOperator write writeasyn keyword setlPreCondit begin bodysyn keyword setlPreCondit program package procedure proc usesyn keyword setlRepeat exit for forall loop while until breaksyn keyword setlRepeat continue do doing step passsyn keyword setlStatement goto returnsyn keyword setlStatement stop quit assert" Todo.syn keyword setlTodo contained TODO FIXME XXX" Strings and characters.syn region setlString1 start=+'+ skip=+''+ end=+'+syn region setlString2 start=+"+ skip=+""+ end=+"+" Numbers.syn match setlNumber "[+-]\=\<[0-9_]*\.\=[0-9_]*\>"" Labels for the goto statement.syn region setlLabel start="<<" end=">>"" Comments.syn region setlComment oneline contains=setlTodo start="--" end="$"" Define the default highlighting." For version 5.7 and earlier: only when not done already" For version 5.8 and later: only when an item doesn't have highlighting yetif version >= 508 || !exists("did_setl_syntax_inits") if version < 508 let did_setl_syntax_inits = 1 command -nargs=+ HiLink hi link <args> else command -nargs=+ HiLink hi def link <args> endif HiLink setlBoolean Boolean HiLink setlCharacter Character HiLink setlComment Comment HiLink setlConditional Conditional HiLink setlInclude Include HiLink setlKeyword Keyword HiLink setlLabel Label HiLink setlNumber Number HiLink setlOperator Operator HiLink setlPreCondit PreCondit HiLink setlRepeat Repeat HiLink setlSpecial Special HiLink setlStatement Statement HiLink setlString1 String HiLink setlString2 String HiLink setlStructure Structure HiLink setlTodo Todo HiLink setlType Type delcommand HiLinkendiflet b:current_syntax = "setl"" vim: ts=8
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -