all repos

viye @ d1c6934

my shot at reimplementing xiki
1 files changed, 16 insertions(+), 0 deletions(-)
add vim syntax highlighting
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2026-08-27 23:00:09 +0300
Authored at: 2026-08-27 22:08:18 +0300
Change ID: qtuvnzmukxtonppvzyqzsoyvwnmurvsm
Parent: 089144f
A syntax/viye.vim
ยทยทยท
        
        1
        +if exists("b:current_syntax")

      
        
        2
        +  finish

      
        
        3
        +endif

      
        
        4
        +

      
        
        5
        +syn match viyeTool   /^[^|:=+ \t-]\S*/            " top-level command name

      
        
        6
        +syn match viyeTool   /^\s*[+-] \zs\S\+\ze\/\@<!/  " bullet child

      
        
        7
        +syn match viyeURL    /\v<https:\/\/\S+/           " urls

      
        
        8
        +syn match viyeOutput /^\s*|.*$/                   " | output

      
        
        9
        +syn match viyeBody   /^\s*:.*$/                   " : body

      
        
        10
        +

      
        
        11
        +hi def link viyeTool Function

      
        
        12
        +hi def link viyeURL Underlined

      
        
        13
        +hi def link viyeOutput Comment

      
        
        14
        +hi def link viyeBody String

      
        
        15
        +

      
        
        16
        +let b:current_syntax = "viye"