annotate runtime/syntax/sbt.vim @ 17873:d50a5faa75bd v8.1.1933

patch 8.1.1933: the eval.c file is too big Commit: https://github.com/vim/vim/commit/0522ba0359c96a8c2a4fc8fca0d3b58e49dda759 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 27 22:48:30 2019 +0200 patch 8.1.1933: the eval.c file is too big Problem: The eval.c file is too big. Solution: Move code related to variables to evalvars.c. (Yegappan Lakshmanan, closes #4868)
author Bram Moolenaar <Bram@vim.org>
date Tue, 27 Aug 2019 23:00:04 +0200
parents d183d629509e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11442
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Vim syntax file
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " Language: sbt
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 " Maintainer: Steven Dobay <stevendobay at protonmail.com>
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 " Last Change: 2017.04.30
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 if exists("b:current_syntax")
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 finish
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 endif
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 runtime! syntax/scala.vim
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 syn region sbtString start="\"[^"]" skip="\\\"" end="\"" contains=sbtStringEscape
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 syn match sbtStringEscape "\\u[0-9a-fA-F]\{4}" contained
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 syn match sbtStringEscape "\\[nrfvb\\\"]" contained
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 syn match sbtIdentitifer "^\S\+\ze\s*\(:=\|++=\|+=\|<<=\|<+=\)"
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 syn match sbtBeginningSeq "^[Ss]eq\>"
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 syn match sbtSpecial "\(:=\|++=\|+=\|<<=\|<+=\)"
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
21 syn match sbtLineComment "//.*"
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
22 syn region sbtComment start="/\*" end="\*/"
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
23 syn region sbtDocComment start="/\*\*" end="\*/" keepend
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
24
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
25 hi link sbtString String
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
26 hi link sbtIdentitifer Keyword
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
27 hi link sbtBeginningSeq Keyword
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
28 hi link sbtSpecial Special
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
29 hi link sbtComment Comment
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
30 hi link sbtLineComment Comment
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
31 hi link sbtDocComment Comment
d183d629509e Update runtime files.
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
32