Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
m3quake.vim75 linesDownload Raw Back to syntax
1" Vim syntax file2" Language:	Modula-3 Quake3" Maintainer:	Doug Kearns <dougkearns@gmail.com>4" Last Change:	2021 April 155 6if exists("b:current_syntax")7  finish8endif9 10" Keywords11syn keyword m3quakeKeyword else end foreach if in is local or proc readonly12syn keyword m3quakeKeyword return13 14" Builtin procedures {{{15" Generated from m3-sys/m3quake/src/QMachine.m316syn keyword m3quakeProcedure arglist cp_if defined empty equal error escape17syn keyword m3quakeProcedure exec cm3_exec file format include make_dir18syn keyword m3quakeProcedure normalize path stale try_exec try_cm3_exec19syn keyword m3quakeProcedure unlink_file write datetime date datestamp20syn keyword m3quakeProcedure TRACE_INSTR eval_func hostname21 22syn keyword m3quakeProcedure pushd popd cd getwd23 24syn keyword m3quakeProcedure quake25 26syn keyword m3quakeProcedure q_exec q_exec_put q_exec_get27 28syn keyword m3quakeProcedure fs_exists fs_readable fs_writable fs_executable29syn keyword m3quakeProcedure fs_isdir fs_isfile fs_contents fs_putfile30syn keyword m3quakeProcedure fs_mkdir fs_touch fs_lsdirs fs_lsfiles fs_rmdir31syn keyword m3quakeProcedure fs_rmfile fs_rmrec fs_cp32 33syn keyword m3quakeProcedure pn_valid pn_decompose pn_compose pn_absolute34syn keyword m3quakeProcedure pn_prefix pn_last pn_base pn_lastbase pn_lastext35syn keyword m3quakeProcedure pn_join pn_join2 pn_replace_ext pn_parent36syn keyword m3quakeProcedure pn_current37 38syn keyword m3quakeProcedure len39 40syn keyword m3quakeProcedure split sub skipl skipr squeeze compress pos41syn keyword m3quakeProcedure tcontains bool encode decode subst_chars42syn keyword m3quakeProcedure del_chars subst subst_env add_prefix add_suffix43" }}}44 45" Identifiers46syn match   m3quakeEnvVariable "$\h\w\+"47 48" Operators49syn match m3quakeOperator "&"50syn match m3quakeOperator "\<\%(contains\|not\|and\|or\)\>"51 52" Strings53syn match  m3quakeEscape "\\[\\nrtbf"]" contained display54syn region m3quakeString start=+"+ end=+"+ contains=m3quakeEscape55 56" Comments57syn keyword m3quakeTodo	 TODO FIXME XXX contained58syn region  m3quakeComment start="%"   end="$"	 contains=m3quakeTodo,@Spell59syn region  m3quakeComment start="/\*" end="\*/" contains=m3quakeTodo,@Spell60 61" Default highlighting62hi def link m3quakeCommand     Statement63hi def link m3quakeComment     Comment64hi def link m3quakeEnvVariable Identifier65hi def link m3quakeEscape      Special66hi def link m3quakeKeyword     Keyword67hi def link m3quakeOperator    Operator68hi def link m3quakeProcedure   Function69hi def link m3quakeString      String70hi def link m3quakeTodo	       Todo71 72let b:current_syntax = "m3quake"73 74" vim: nowrap sw=2 sts=2 ts=8 noet fdm=marker:75 
codekingpro/portable-devtools · Team Ai