view runtime/syntax/sbt.vim @ 15170:3cd05af56fd1 v8.1.0595

patch 8.1.0595: libvterm tests are not run with coverage commit https://github.com/vim/vim/commit/a9659e0da41388f2c7aedccf016c2fe2eeec6a82 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 15 15:59:32 2018 +0100 patch 8.1.0595: libvterm tests are not run with coverage Problem: Libvterm tests are not run with coverage. Solution: Adjust the Travis config. Show the actually run commands.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Dec 2018 16:00:06 +0100
parents d183d629509e
children
line wrap: on
line source

" Vim syntax file
" Language:    sbt
" Maintainer:  Steven Dobay <stevendobay at protonmail.com>
" Last Change: 2017.04.30

if exists("b:current_syntax")
  finish
endif

runtime! syntax/scala.vim

syn region sbtString start="\"[^"]" skip="\\\"" end="\"" contains=sbtStringEscape
syn match sbtStringEscape "\\u[0-9a-fA-F]\{4}" contained
syn match sbtStringEscape "\\[nrfvb\\\"]" contained

syn match sbtIdentitifer "^\S\+\ze\s*\(:=\|++=\|+=\|<<=\|<+=\)"
syn match sbtBeginningSeq "^[Ss]eq\>"

syn match sbtSpecial "\(:=\|++=\|+=\|<<=\|<+=\)"

syn match sbtLineComment "//.*"
syn region sbtComment start="/\*" end="\*/"
syn region sbtDocComment start="/\*\*" end="\*/" keepend

hi link sbtString String
hi link sbtIdentitifer Keyword
hi link sbtBeginningSeq Keyword
hi link sbtSpecial Special
hi link sbtComment Comment
hi link sbtLineComment Comment
hi link sbtDocComment Comment