annotate runtime/syntax/sbt.vim @ 19627:6b1564fcab92 v8.2.0370

patch 8.2.0370: the typebuf_was_filled flag is sometimes not reset Commit: https://github.com/vim/vim/commit/e49b4bb89505fad28cf89f0891aef3e2d397919e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 11 13:01:40 2020 +0100 patch 8.2.0370: the typebuf_was_filled flag is sometimes not reset Problem: The typebuf_was_filled flag is sometimes not reset, which may cause a hang. Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is empty.
author Bram Moolenaar <Bram@vim.org>
date Wed, 11 Mar 2020 13:15:04 +0100
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