Server IP : 85.214.239.14 / Your IP : 18.191.168.14 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/cwd/proc/2/root/proc/2/root/proc/3/cwd/usr/share/vim/vim90/syntax/ |
Upload File : |
" Vim syntax file " Language: Mermaid " Maintainer: Craig MacEahern <https://github.com/craigmac/vim-mermaid> " Filenames: *.mmd " Last Change: 2022 Nov 22 if exists("b:current_syntax") finish endif let s:cpo_save = &cpo set cpo&vim syntax iskeyword @,48-57,192-255,$,_,-,: syntax keyword mermaidKeyword \ _blank \ _self \ _parent \ _top \ ::icon \ accDescr \ accTitle \ actor \ activate \ alt \ and \ as \ autonumber \ branch \ break \ callback \ checkout \ class \ classDef \ classDiagram \ click \ commit \ commitgitGraph \ critical \ dataFormat \ dateFormat \ deactivate \ direction \ element \ else \ end \ erDiagram \ flowchart \ gantt \ gitGraph \ graph \ journey \ link \ LR \ TD \ TB \ RL \ loop \ merge \ mindmap root \ Note \ Note right of \ Note left of \ Note over \ note \ note right of \ note left of \ note over \ opt \ option \ par \ participant \ pie \ rect \ requirement \ rgb \ section \ sequenceDiagram \ state \ stateDiagram \ stateDiagram-v2 \ style \ subgraph \ title highlight link mermaidKeyword Keyword syntax match mermaidStatement "|" syntax match mermaidStatement "--\?[>x)]>\?+\?-\?" syntax match mermaidStatement "\~\~\~" syntax match mermaidStatement "--" syntax match mermaidStatement "---" syntax match mermaidStatement "-->" syntax match mermaidStatement "-\." syntax match mermaidStatement "\.->" syntax match mermaidStatement "-\.-" syntax match mermaidStatement "-\.\.-" syntax match mermaidStatement "-\.\.\.-" syntax match mermaidStatement "==" syntax match mermaidStatement "==>" syntax match mermaidStatement "===>" syntax match mermaidStatement "====>" syntax match mermaidStatement "&" syntax match mermaidStatement "--o" syntax match mermaidStatement "--x" syntax match mermaidStatement "x--x" syntax match mermaidStatement "-----" syntax match mermaidStatement "---->" syntax match mermaidStatement "===" syntax match mermaidStatement "====" syntax match mermaidStatement "=====" syntax match mermaidStatement ":::" syntax match mermaidStatement "<|--" syntax match mermaidStatement "\*--" syntax match mermaidStatement "o--" syntax match mermaidStatement "o--o" syntax match mermaidStatement "<--" syntax match mermaidStatement "<-->" syntax match mermaidStatement "\.\." syntax match mermaidStatement "<\.\." syntax match mermaidStatement "<|\.\." syntax match mermaidStatement "--|>" syntax match mermaidStatement "--\*" syntax match mermaidStatement "--o" syntax match mermaidStatement "\.\.>" syntax match mermaidStatement "\.\.|>" syntax match mermaidStatement "<|--|>" syntax match mermaidStatement "||--o{" highlight link mermaidStatement Statement syntax match mermaidIdentifier "[\+-]\?\w\+(.*)[\$\*]\?" highlight link mermaidIdentifier Identifier syntax match mermaidType "[\+-\#\~]\?\cint\>" syntax match mermaidType "[\+-\#\~]\?\cString\>" syntax match mermaidType "[\+-\#\~]\?\cbool\>" syntax match mermaidType "[\+-\#\~]\?\cBigDecimal\>" syntax match mermaidType "[\+-\#\~]\?\cList\~.\+\~" syntax match mermaidType "<<\w\+>>" highlight link mermaidType Type syntax match mermaidComment "%%.*$" highlight link mermaidComment Comment syntax region mermaidDirective start="%%{" end="\}%%" highlight link mermaidDirective PreProc syntax region mermaidString start=/"/ skip=/\\"/ end=/"/ highlight link mermaidString String let b:current_syntax = "mermaid" let &cpo = s:cpo_save unlet s:cpo_save " vim:set sw=2: