annotate runtime/syntax/sbt.vim @ 25102:b7062becbfb5 v8.2.3088

patch 8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrong Commit: https://github.com/vim/vim/commit/9cee4a1c9c69542ccd73bcd2db05920150856361 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 3 15:08:37 2021 +0200 patch 8.2.3088: with 'virtualedit' set to "block" Visual highlight is wrong Problem: With 'virtualedit' set to "block" Visual highlight is wrong after using "$". (Marco Trosi) Solution: Do not set w_old_cursor_lcol to MAXCOL. (closes #8495)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Jul 2021 15:15:03 +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