robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
6942dec9b2
master
1" Vim syntax file 2" Language: Nvim :checkhealth buffer 3 4if exists ( "b:current_syntax" ) 5finish 6endif 7 8runtime ! syntax/help.vim 9unlet ! b: current_syntax 10 11syn case match 12 13syn keyword DiagnosticError ERROR[ :] 14syn keyword DiagnosticWarn WARNING[ :] 15syn keyword DiagnosticOk OK[ :] 16" Note: hs=e starts higlighting on the title line (instead of the "===" line). 17syn match healthSectionDelim /^====== * \n. * $ /hs= e 18highlight default healthSectionDelim gui = reverse cterm = reverse 19syn match healthHeadingChar "= "conceal cchar = contained containedin=healthSectionDelim 20 21let b: current_syntax = "checkhealth"