" VIM Syntax file for txr " Kaz Kylheku " INSTALL-HOWTO: " " 1. Create the directory .vim/syntax in your home directory and " put the files txr.vim and txl.vim into this directory. " 2. In your .vimrc, add this command to associate *.txr and *.tl " files with the txr and txl filetypes: " :au BufRead,BufNewFile *.txr set filetype=txr | set lisp " :au BufRead,BufNewFile *.tl set filetype=txl | set lisp " " If you want syntax highlighting to be on automatically (for any language) " you need to add ":syntax on" in your .vimrc also. But you knew that already! " " This file is generated by the genvim.txr script in the TXR source tree. syn case match syn spell toplevel setlocal iskeyword=a-z,A-Z,48-57,!,$,&,*,+,-,:,<,=,>,?,\\,_,~,/ syn keyword txl_keyword contained %e% %pi% * *args* syn keyword txl_keyword contained *args-full* *e* *flo-dig* *flo-epsilon* syn keyword txl_keyword contained *flo-max* *flo-min* *full-args* *gensym-counter* syn keyword txl_keyword contained *keyword-package* *lib-version* *listener-hist-len* *listener-multi-line-p* syn keyword txl_keyword contained *pi* *place-clobber-expander* *place-delete-expander* *place-macro* syn keyword txl_keyword contained *place-update-expander* *print-base* *print-flo-precision* *random-state* syn keyword txl_keyword contained *self-path* *stddebug* *stderr* *stdin* syn keyword txl_keyword contained *stdlog* *stdnull* *stdout* *system-package* syn keyword txl_keyword contained *txr-version* *unhandled-hook* *user-package* + syn keyword txl_keyword contained - / /= : syn keyword txl_keyword contained :append :args :atime :auto syn keyword txl_keyword contained :blksize :blocks :cdigit :chars syn keyword txl_keyword contained :continue :counter :cspace :ctime syn keyword txl_keyword contained :cword-char :decline :dev :digit syn keyword txl_keyword contained :downcase :env :equal-based :fd syn keyword txl_keyword contained :filter :fini :finish :form syn keyword txl_keyword contained :from-current :from-end :from-start :from_html syn keyword txl_keyword contained :fromhtml :frompercent :fromurl :fun syn keyword txl_keyword contained :function :gap :gid :greedy syn keyword txl_keyword contained :hextoint :init :ino :instance syn keyword txl_keyword contained :into :lfilt :lines :list syn keyword txl_keyword contained :longest :maxgap :maxtimes :method syn keyword txl_keyword contained :mingap :mintimes :mode :mtime syn keyword txl_keyword contained :name :named :next-spec :nlink syn keyword txl_keyword contained :nothrow :postinit :prio :rdev syn keyword txl_keyword contained :real-time :reflect :repeat-spec :resolve syn keyword txl_keyword contained :rfilt :shortest :size :space syn keyword txl_keyword contained :static :string :symacro :times syn keyword txl_keyword contained :to_html :tofloat :tohtml :tohtml* syn keyword txl_keyword contained :toint :tonumber :topercent :tourl syn keyword txl_keyword contained :uid :upcase :var :vars syn keyword txl_keyword contained :weak-keys :weak-vals :whole :word-char syn keyword txl_keyword contained :wrap < <= = syn keyword txl_keyword contained > >= abort abs syn keyword txl_keyword contained abs-path-p acons acons-new aconsql-new syn keyword txl_keyword contained acos alist-nremove alist-remove all syn keyword txl_keyword contained and andf apf append syn keyword txl_keyword contained append* apply ash asin syn keyword txl_keyword contained assoc assql atan atan2 syn keyword txl_keyword contained atom bignump bindable bit syn keyword txl_keyword contained boundp break-str butlast caaaaar syn keyword txl_keyword contained caaaadr caaaar caaadar caaaddr syn keyword txl_keyword contained caaadr caaar caadaar caadadr syn keyword txl_keyword contained caadar caaddar caadddr caaddr syn keyword txl_keyword contained caadr caar cadaaar cadaadr syn keyword txl_keyword contained cadaar cadadar cadaddr cadadr syn keyword txl_keyword contained cadar caddaar caddadr caddar syn keyword txl_keyword contained cadddar caddddr cadddr caddr syn keyword txl_keyword contained cadr call call-clobber-expander call-delete-expander syn keyword txl_keyword contained call-finalizers call-super-fun call-super-method call-update-expander syn keyword txl_keyword contained callf car cat-str cat-streams syn keyword txl_keyword contained cat-vec catenated-stream-p catenated-stream-push cdaaaar syn keyword txl_keyword contained cdaaadr cdaaar cdaadar cdaaddr syn keyword txl_keyword contained cdaadr cdaar cdadaar cdadadr syn keyword txl_keyword contained cdadar cdaddar cdadddr cdaddr syn keyword txl_keyword contained cdadr cdar cddaaar cddaadr syn keyword txl_keyword contained cddaar cddadar cddaddr cddadr syn keyword txl_keyword contained cddar cdddaar cdddadr cdddar syn keyword txl_keyword contained cddddar cdddddr cddddr cdddr syn keyword txl_keyword contained cddr cdr ceil chain syn keyword txl_keyword contained chand chdir chmod chr-int syn keyword txl_keyword contained chr-isalnum chr-isalpha chr-isascii chr-isblank syn keyword txl_keyword contained chr-iscntrl chr-isdigit chr-isgraph chr-islower syn keyword txl_keyword contained chr-isprint chr-ispunct chr-isspace chr-isunisp syn keyword txl_keyword contained chr-isupper chr-isxdigit chr-num chr-str syn keyword txl_keyword contained chr-str-set chr-tolower chr-toupper chrp syn keyword txl_keyword contained clamp clear-error clear-struct close-stream syn keyword txl_keyword contained closelog cmp-str comb compl-span-str syn keyword txl_keyword contained cons conses conses* consp syn keyword txl_keyword contained constantp copy copy-alist copy-cons syn keyword txl_keyword contained copy-hash copy-list copy-str copy-struct syn keyword txl_keyword contained copy-vec cos count-if countq syn keyword txl_keyword contained countql countqual cum-norm-dist daemon syn keyword txl_keyword contained delete-package display-width downcase-str drop syn keyword txl_keyword contained drop-until drop-while dup dupfd syn keyword txl_keyword contained eighth empty endgrent endpwent syn keyword txl_keyword contained ensure-dir env env-fbind env-hash syn keyword txl_keyword contained env-vbind eq eql equal syn keyword txl_keyword contained errno error eval evenp syn keyword txl_keyword contained exception-subtype-p exec exit exit* syn keyword txl_keyword contained exp expand-right expt exptmod syn keyword txl_keyword contained false fboundp fifth fileno syn keyword txl_keyword contained filter-equal filter-string-tree finalize find syn keyword txl_keyword contained find-frame find-if find-max find-min syn keyword txl_keyword contained find-package find-struct-type first fixnump syn keyword txl_keyword contained flatcar flatcar* flatten flatten* syn keyword txl_keyword contained flipargs flo-dig flo-epsilon flo-int syn keyword txl_keyword contained flo-max flo-max-dig flo-min flo-str syn keyword txl_keyword contained floatp floor flush-stream fmakunbound syn keyword txl_keyword contained force fork format fourth syn keyword txl_keyword contained from fstat func-get-env func-get-form syn keyword txl_keyword contained func-get-name func-set-env functionp gcd syn keyword txl_keyword contained generate gensym gequal get-byte syn keyword txl_keyword contained get-char get-clobber-expander get-delete-expander get-error syn keyword txl_keyword contained get-error-str get-frames get-hash-userdata get-indent syn keyword txl_keyword contained get-indent-mode get-line get-lines get-list-from-stream syn keyword txl_keyword contained get-sig-handler get-string get-string-from-stream get-update-expander syn keyword txl_keyword contained getegid getenv geteuid getgid syn keyword txl_keyword contained getgrent getgrgid getgrnam getgroups syn keyword txl_keyword contained gethash getitimer getpid getppid syn keyword txl_keyword contained getpwent getpwnam getpwuid getuid syn keyword txl_keyword contained ginterate giterate glob glob-altdirfunc syn keyword txl_keyword contained glob-brace glob-err glob-mark glob-nocheck syn keyword txl_keyword contained glob-noescape glob-nomagic glob-nosort glob-onlydir syn keyword txl_keyword contained glob-period glob-tilde glob-tilde-check greater syn keyword txl_keyword contained group-by group-reduce hash hash-alist syn keyword txl_keyword contained hash-begin hash-construct hash-count hash-diff syn keyword txl_keyword contained hash-eql hash-equal hash-from-pairs hash-isec syn keyword txl_keyword contained hash-keys hash-list hash-next hash-pairs syn keyword txl_keyword contained hash-proper-subset hash-revget hash-subset hash-uni syn keyword txl_keyword contained hash-update hash-update-1 hash-values hashp syn keyword txl_keyword contained have html-decode html-encode html-encode* syn keyword txl_keyword contained iapply identity if iff syn keyword txl_keyword contained iffi in inc-indent indent-code syn keyword txl_keyword contained indent-data indent-off inhash int-chr syn keyword txl_keyword contained int-flo int-str integerp intern syn keyword txl_keyword contained interp-fun-p interpose invoke-catch ipf syn keyword txl_keyword contained iread isqrt itimer-prov itimer-real syn keyword txl_keyword contained itimer-virtual juxt keep-if keep-if* syn keyword txl_keyword contained keyword-package keywordp kill last syn keyword txl_keyword contained lazy-str lazy-str-force lazy-str-force-upto lazy-str-get-trailing-list syn keyword txl_keyword contained lazy-stream-cons lazy-stringp lcm lcons-fun syn keyword txl_keyword contained lconsp ldiff length length-list syn keyword txl_keyword contained length-str length-str-< length-str-<= length-str-> syn keyword txl_keyword contained length-str->= length-vec lequal less syn keyword txl_keyword contained lexical-fun-p lexical-lisp1-binding lexical-var-p lib-version syn keyword txl_keyword contained link lisp-parse list list* syn keyword txl_keyword contained list-str list-vec list-vector listp syn keyword txl_keyword contained log log-alert log-auth log-authpriv syn keyword txl_keyword contained log-cons log-crit log-daemon log-debug syn keyword txl_keyword contained log-emerg log-err log-info log-ndelay syn keyword txl_keyword contained log-notice log-nowait log-odelay log-perror syn keyword txl_keyword contained log-pid log-user log-warning log10 syn keyword txl_keyword contained log2 logand logior lognot syn keyword txl_keyword contained logtest logtrunc logxor lstat syn keyword txl_keyword contained macro-ancestor macro-form-p macroexpand macroexpand-1 syn keyword txl_keyword contained major make-catenated-stream make-env make-hash syn keyword txl_keyword contained make-lazy-cons make-lazy-struct make-like make-package syn keyword txl_keyword contained make-random-state make-similar-hash make-string-byte-input-stream make-string-input-stream syn keyword txl_keyword contained make-string-output-stream make-strlist-output-stream make-struct make-struct-type syn keyword txl_keyword contained make-sym make-time make-time-utc make-trie syn keyword txl_keyword contained makedev makunbound mapcar mapcar* syn keyword txl_keyword contained mapdo mapf maphash mappend syn keyword txl_keyword contained mappend* mask match-fun match-regex syn keyword txl_keyword contained match-regex-right match-regst match-regst-right match-str syn keyword txl_keyword contained match-str-tree max mboundp member syn keyword txl_keyword contained member-if memq memql memqual syn keyword txl_keyword contained merge method min minor syn keyword txl_keyword contained minusp mkdir mknod mkstring syn keyword txl_keyword contained mmakunbound mod multi multi-sort syn keyword txl_keyword contained n-choose-k n-perm-k nconc nil syn keyword txl_keyword contained nilf ninth none not syn keyword txl_keyword contained notf nreconc nreverse nthcdr syn keyword txl_keyword contained null nullify num-chr num-str syn keyword txl_keyword contained numberp oddp open-command open-directory syn keyword txl_keyword contained open-file open-fileno open-files open-files* syn keyword txl_keyword contained open-pipe open-process open-tail openlog syn keyword txl_keyword contained or orf package-alist package-name syn keyword txl_keyword contained package-symbols packagep pad partition syn keyword txl_keyword contained partition* partition-by path-blkdev-p path-chrdev-p syn keyword txl_keyword contained path-dir-p path-executable-to-me-p path-exists-p path-file-p syn keyword txl_keyword contained path-mine-p path-my-group-p path-newer path-older syn keyword txl_keyword contained path-pipe-p path-private-to-me-p path-same-object path-setgid-p syn keyword txl_keyword contained path-setuid-p path-sock-p path-sticky-p path-symlink-p syn keyword txl_keyword contained path-writable-to-me-p perm pipe place-form-p syn keyword txl_keyword contained plusp poll poll-err poll-in syn keyword txl_keyword contained poll-nval poll-out poll-pri poll-rdband syn keyword txl_keyword contained poll-wrband pos pos-if pos-max syn keyword txl_keyword contained pos-min posq posql posqual syn keyword txl_keyword contained pppred ppred pprinl pprint syn keyword txl_keyword contained pred prinl print promisep syn keyword txl_keyword contained prop proper-listp pushhash put-byte syn keyword txl_keyword contained put-char put-line put-lines put-string syn keyword txl_keyword contained put-strings pwd raise rand syn keyword txl_keyword contained random random-fixnum random-state-p range syn keyword txl_keyword contained range* range-regex rangep rcomb syn keyword txl_keyword contained rcons read readlink real-time-stream-p syn keyword txl_keyword contained reduce-left reduce-right ref refset syn keyword txl_keyword contained regex-compile regex-parse regexp register-exception-subtypes syn keyword txl_keyword contained regsub rehome-sym remhash remove-if syn keyword txl_keyword contained remove-if* remove-path remq remq* syn keyword txl_keyword contained remql remql* remqual remqual* syn keyword txl_keyword contained rename-path repeat replace replace-list syn keyword txl_keyword contained replace-str replace-struct replace-vec reset-struct syn keyword txl_keyword contained rest retf return* revappend syn keyword txl_keyword contained reverse rlcp rperm rplaca syn keyword txl_keyword contained rplacd run s-ifblk s-ifchr syn keyword txl_keyword contained s-ifdir s-ififo s-iflnk s-ifmt syn keyword txl_keyword contained s-ifreg s-ifsock s-irgrp s-iroth syn keyword txl_keyword contained s-irusr s-irwxg s-irwxo s-irwxu syn keyword txl_keyword contained s-isgid s-isuid s-isvtx s-iwgrp syn keyword txl_keyword contained s-iwoth s-iwusr s-ixgrp s-ixoth syn keyword txl_keyword contained s-ixusr search search-regex search-regst syn keyword txl_keyword contained search-str search-str-tree second seek-stream syn keyword txl_keyword contained select self-path seqp set-diff syn keyword txl_keyword contained set-hash-userdata set-indent set-indent-mode set-sig-handler syn keyword txl_keyword contained setegid setenv seteuid setgid syn keyword txl_keyword contained setgrent sethash setitimer setlogmask syn keyword txl_keyword contained setpwent setuid seventh sh syn keyword txl_keyword contained shuffle sig-abrt sig-alrm sig-bus syn keyword txl_keyword contained sig-check sig-chld sig-cont sig-fpe syn keyword txl_keyword contained sig-hup sig-ill sig-int sig-io syn keyword txl_keyword contained sig-iot sig-kill sig-pipe sig-poll syn keyword txl_keyword contained sig-prof sig-pwr sig-quit sig-segv syn keyword txl_keyword contained sig-stkflt sig-stop sig-sys sig-term syn keyword txl_keyword contained sig-trap sig-tstp sig-ttin sig-ttou syn keyword txl_keyword contained sig-urg sig-usr1 sig-usr2 sig-vtalrm syn keyword txl_keyword contained sig-winch sig-xcpu sig-xfsz sign-extend syn keyword txl_keyword contained sin sixth size-vec slot syn keyword txl_keyword contained slotp slotset some sort syn keyword txl_keyword contained sort-group source-loc source-loc-str span-str syn keyword txl_keyword contained special-operator-p special-var-p split split-str syn keyword txl_keyword contained split-str-set sqrt sssucc ssucc syn keyword txl_keyword contained stat static-slot static-slot-ensure static-slot-p syn keyword txl_keyword contained static-slot-set stdlib str< str<= syn keyword txl_keyword contained str= str> str>= stream-get-prop syn keyword txl_keyword contained stream-set-prop streamp string-extend string-lt syn keyword txl_keyword contained stringp struct-type struct-type-p structp syn keyword txl_keyword contained sub sub-list sub-str sub-vec syn keyword txl_keyword contained subtypep succ super super-method syn keyword txl_keyword contained symbol-function symbol-macro symbol-name symbol-package syn keyword txl_keyword contained symbol-value symbolp symlink sys:*lisp1* syn keyword txl_keyword contained sys:abscond* sys:bad-slot-syntax sys:capture-cont sys:cp-origin syn keyword txl_keyword contained sys:defmeth sys:do-path-test sys:dwim-del sys:dwim-set syn keyword txl_keyword contained sys:eval-err sys:expand sys:gc sys:gc-set-delta syn keyword txl_keyword contained sys:get-fb sys:get-mb sys:get-vb sys:handle-bad-syntax syn keyword txl_keyword contained sys:if-to-cond sys:load sys:make-struct-type sys:mark-special syn keyword txl_keyword contained sys:obtain-impl sys:path-access sys:path-test-mode sys:pl-expand syn keyword txl_keyword contained sys:prune-nil-inits sys:reg-expand-nongreedy sys:reg-optimize sys:register-simple-accessor syn keyword txl_keyword contained sys:rplaca sys:rplacd sys:set-macro-ancestor sys:sym-clobber-expander syn keyword txl_keyword contained sys:sym-delete-expander sys:sym-update-expander sys:top-fb sys:top-mb syn keyword txl_keyword contained sys:top-vb syslog system-package t syn keyword txl_keyword contained take take-until take-while tan syn keyword txl_keyword contained tenth test-set-indent-mode tf third syn keyword txl_keyword contained throw throwf time time-fields-local syn keyword txl_keyword contained time-fields-utc time-string-local time-string-utc time-struct-local syn keyword txl_keyword contained time-struct-utc time-usec to tofloat syn keyword txl_keyword contained toint tok-str tok-where tostring syn keyword txl_keyword contained tostringp tprint transpose tree-find syn keyword txl_keyword contained trie-add trie-compress trie-lookup-begin trie-lookup-feed-char syn keyword txl_keyword contained trie-value-at trim-str true trunc syn keyword txl_keyword contained trunc-rem truncate-stream tuples txr-sym syn keyword txl_keyword contained txr-version typeof typep umethod syn keyword txl_keyword contained unget-byte unget-char uniq unique syn keyword txl_keyword contained unsetenv upcase-str update url-decode syn keyword txl_keyword contained url-encode user-package usleep uslot syn keyword txl_keyword contained vec vec-list vec-push vec-set-length syn keyword txl_keyword contained vecref vector vector-list vectorp syn keyword txl_keyword contained w-continued w-coredump w-exitstatus w-ifcontinued syn keyword txl_keyword contained w-ifexited w-ifsignaled w-ifstopped w-nohang syn keyword txl_keyword contained w-stopsig w-termsig w-untraced wait syn keyword txl_keyword contained weave where width width-check syn keyword txl_keyword contained window-map window-mappend wrap wrap* syn keyword txl_keyword contained zerop zip syn keyword txr_keyword contained accept all and assert syn keyword txr_keyword contained bind block cases cat syn keyword txr_keyword contained catch choose chr close syn keyword txr_keyword contained coll collect defex deffilter syn keyword txr_keyword contained define do elif else syn keyword txr_keyword contained end eof eol fail syn keyword txr_keyword contained filter finally flatten forget syn keyword txr_keyword contained freeform fuzz gather if syn keyword txr_keyword contained include last line load syn keyword txr_keyword contained local maybe merge next syn keyword txr_keyword contained none or output rebind syn keyword txr_keyword contained rep repeat require set syn keyword txr_keyword contained skip some text throw syn keyword txr_keyword contained trailer try until var syn match txr_error "\(@[ \t]*\)[*]\?[\t ]*." syn match txr_atat "\(@[ \t]*\)@" syn match txr_comment "\(@[ \t]*\)[#;].*" syn match txr_contin "\(@[ \t]*\)\\$" syn match txr_char "\(@[ \t]*\)\\." syn match txr_error "\(@[ \t]*\)\\[xo]" syn match txr_char "\(@[ \t]*\)\\x[0-9A-Fa-f]\+;\?" syn match txr_char "\(@[ \t]*\)\\[0-7]\+;\?" syn match txr_regdir "\(@[ \t]*\)/\(\\/\|[^/]\|\\\n\)*/" syn match txr_hashbang "^#!.*" syn match txr_nested_error "[^\t ]\+" contained syn match txr_variable "\(@[ \t]*\)[*]\?[ \t]*[A-Za-z_][A-Za-z_0-9]*" syn match txr_splicevar "@[ \t,*@]*[A-Za-z_][A-Za-z_0-9]*" syn match txr_metanum "@\+[0-9]\+" syn match txr_badesc "\\." contained syn match txr_escat "\\@" contained syn match txr_stresc "\\[abtnvfre\\ \n"`']" contained syn match txr_numesc "\\x[0-9A-Fa-f]\+;\?" contained syn match txr_numesc "\\[0-7]\+;\?" contained syn match txr_regesc "\\[abtnvfre\\ \n/sSdDwW()\|.*?+~&%\[\]\-]" contained syn match txr_chr "#\\x[0-9A-Fa-f]\+" contained syn match txr_chr "#\\o[0-7]\+" contained syn match txr_chr "#\\[^ \t\nA-Za-z_0-9]" contained syn match txr_chr "#\\[A-Za-z_0-9]\+" contained syn match txr_ncomment ";.*" contained syn match txr_dot "\." contained syn match txr_num "#x[+\-]\?[0-9A-Fa-f]\+" contained syn match txr_num "#o[+\-]\?[0-7]\+" contained syn match txr_num "#b[+\-]\?[01]\+" contained syn match txr_ident "[A-Za-z_0-9!$%&*+\-<=>?\\_~]*[A-Za-z_!$%&*+\-<=>?\\_~^][A-Za-z_0-9!$%&*+\-<=>?\\_~^]*" contained syn match txl_ident "[:@][A-Za-z_0-9!$%&*+\-<=>?\\_~^/]\+" contained syn match txr_braced_ident "[:][A-Za-z_0-9!$%&*+\-<=>?\\_~^/]\+" contained syn match txl_ident "[A-Za-z_0-9!$%&*+\-<=>?\\_~/]*[A-Za-z_!$%&*+\-<=>?\\_~^/#][A-Za-z_0-9!$%&*+\-<=>?\\_~^/#]*" contained syn match txr_num "[+\-]\?[0-9]\+\([^A-Za-z_0-9!$%&*+\-<=>?\\_~^/#]\|\n\)"me=e-1 contained syn match txr_badnum "[+\-]\?[0-9]*[.][0-9]\+\([eE][+\-]\?[0-9]\+\)\?[A-Za-z_!$%&*+\-<=>?\\_~^/#]\+" contained syn match txr_num "[+\-]\?[0-9]*[.][0-9]\+\([eE][+\-]\?[0-9]\+\)\?\([^A-Za-z_0-9!$%&*+\-<=>?\\_~^/#]\|\n\)"me=e-1 contained syn match txr_num "[+\-]\?[0-9]\+\([eE][+\-]\?[0-9]\+\)\([^A-Za-z_0-9!$%&*+\-<=>?\\_~^/#]\|\n\)"me=e-1 contained syn match txl_ident ":" contained syn match txl_splice "[ \t,]\|,[*]" contained syn match txr_unquote "," contained syn match txr_splice ",\*" contained syn match txr_quote "'" contained syn match txr_quote "\^" contained syn match txr_dotdot "\.\." contained syn match txr_metaat "@" contained syn region txr_bracevar matchgroup=Delimiter start="@[ \t]*[*]\?{" matchgroup=Delimiter end="}" contains=txr_num,txl_ident,txl_splice,txl_metanum,txr_metaat,txr_braced_ident,txr_dot,txr_dotdot,txr_string,txr_list,txr_bracket,txr_mlist,txr_mbracket,txr_regex,txr_quasilit,txr_chr,txl_splice,txr_nested_error syn region txr_directive matchgroup=Delimiter start="@[ \t]*(" matchgroup=Delimiter end=")" contains=txr_keyword,txr_string,txr_list,txr_bracket,txr_mlist,txr_mbracket,txr_quasilit,txr_num,txr_badnum,txl_ident,txl_regex,txr_string,txr_chr,txr_quote,txr_unquote,txr_splice,txr_dot,txr_dotdot,txr_metaat,txr_ncomment,txr_nested_error syn region txr_list contained matchgroup=Delimiter start="#\?H\?(" matchgroup=Delimiter end=")" contains=txl_keyword,txr_string,txl_regex,txr_num,txr_badnum,txl_ident,txr_metanum,txr_list,txr_bracket,txr_mlist,txr_mbracket,txr_quasilit,txr_chr,txr_quote,txr_unquote,txr_splice,txr_dot,txr_dotdot,txr_metaat,txr_ncomment,txr_nested_error syn region txr_bracket contained matchgroup=Delimiter start="\[" matchgroup=Delimiter end="\]" contains=txl_keyword,txr_string,txl_regex,txr_num,txr_badnum,txl_ident,txr_metanum,txr_list,txr_bracket,txr_mlist,txr_mbracket,txr_quasilit,txr_chr,txr_quote,txr_unquote,txr_splice,txr_dot,txr_dotdot,txr_metaat,txr_ncomment,txr_nested_error syn region txr_mlist contained matchgroup=Delimiter start="@[ \t^',]*(" matchgroup=Delimiter end=")" contains=txl_keyword,txr_string,txl_regex,txr_num,txr_badnum,txl_ident,txr_metanum,txr_list,txr_bracket,txr_mlist,txr_mbracket,txr_quasilit,txr_chr,txr_quote,txr_unquote,txr_splice,txr_dot,txr_dotdot,txr_metaat,txr_ncomment,txr_nested_error syn region txr_mbracket matchgroup=Delimiter start="@[ \t^',]*\[" matchgroup=Delimiter end="\]" contains=txl_keyword,txr_string,txl_regex,txr_num,txr_badnum,txl_ident,txr_metanum,txr_list,txr_bracket,txr_mlist,txr_mbracket,txr_quasilit,txr_chr,txr_quote,txr_unquote,txr_splice,txr_dot,txr_dotdot,txr_metaat,txr_ncomment,txr_nested_error syn region txr_string contained start=+#\?\*\?"+ end=+["\n]+ contains=txr_stresc,txr_numesc,txr_badesc syn region txr_quasilit contained start=+#\?\*\?`+ end=+[`\n]+ contains=txr_splicevar,txr_metanum,txr_bracevar,txr_mlist,txr_mbracket,txr_escat,txr_stresc,txr_numesc,txr_badesc syn region txr_regex contained start="/" end="[/\n]" contains=txr_regesc,txr_numesc,txr_badesc syn region txl_regex contained start="#/" end="[/\n]" contains=txr_regesc,txr_numesc,txr_badesc hi def link txr_at Special hi def link txr_atstar Special hi def link txr_atat Special hi def link txr_comment Comment hi def link txr_ncomment Comment hi def link txr_hashbang Preproc hi def link txr_contin Preproc hi def link txr_char String hi def link txr_keyword Keyword hi def link txl_keyword Type hi def link txr_string String hi def link txr_chr String hi def link txr_quasilit String hi def link txr_regex String hi def link txl_regex String hi def link txr_regdir String hi def link txr_variable Identifier hi def link txr_splicevar Identifier hi def link txr_metanum Identifier hi def link txr_escat Special hi def link txr_stresc Special hi def link txr_numesc Special hi def link txr_regesc Special hi def link txr_badesc Error hi def link txr_ident Identifier hi def link txl_ident Identifier hi def link txr_num Number hi def link txr_badnum Error hi def link txr_quote Special hi def link txr_unquote Special hi def link txr_splice Special hi def link txr_dot Special hi def link txr_dotdot Special hi def link txr_metaat Special hi def link txr_munqspl Special hi def link txl_splice Special hi def link txr_error Error hi def link txr_nested_error Error let b:current_syntax = "lisp" set lispwords=if,:method,:function,:init,:fini