robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
ad527392ab
master
1" Vim syntax file 2" Language: sbt 3" Maintainer: Steven Dobay <stevendobay at protonmail.com> 4" Last Change: 2017.04.30 5 6if exists ( "b:current_syntax" ) 7finish 8endif 9 10runtime ! syntax/scala.vim 11 12syn region sbtString start = "\" [ ^" ] "skip = "\\\" "end = "\" "contains = sbtStringEscape 13syn match sbtStringEscape "\\u [ 0-9a-fA-F ] \{4} "contained 14syn match sbtStringEscape "\\ [ nrfvb\\\" ] "contained 15 16syn match sbtIdentitifer "^\S\+\ze\s * \(:=\|++=\|+=\|<<=\|<+=\) " 17syn match sbtBeginningSeq "^ [ Ss ] eq\> " 18 19syn match sbtSpecial "\(:=\|++=\|+=\|<<=\|<+=\) " 20 21syn match sbtLineComment "//. * " 22syn region sbtComment start = "/\* "end = "\*/ " 23syn region sbtDocComment start = "/\*\* "end = "\*/ "keepend 24 25hi link sbtString String 26hi link sbtIdentitifer Keyword 27hi link sbtBeginningSeq Keyword 28hi link sbtSpecial Special 29hi link sbtComment Comment 30hi link sbtLineComment Comment 31hi link sbtDocComment Comment 32