diff options
author | D. Ben Knoble <ben.knoble+github@gmail.com> | 2023-12-16 08:24:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-16 14:24:15 +0100 |
commit | 5eb9cb53d619f89251d22299e2cb4f21918d9d38 (patch) | |
tree | b6c3210d36c5a9422f22c15ec6e7feb0975ca523 /runtime/syntax | |
parent | 0378f07fbaee9fd8773f3cf8cef146606dd7bf72 (diff) |
runtime(racket): update Racket runtime files (#13693)
This brings the included Racket runtime files to commit 43bfc87 (update
headers, 2023-12-15) of https://github.com/benknoble/vim-racket. Note
that not all files from that repository are included. (In particular,
the ftdetect script is omitted for now.)
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/syntax')
-rw-r--r-- | runtime/syntax/racket.vim | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/syntax/racket.vim b/runtime/syntax/racket.vim index b1ed2b454c..fcd64a7c9b 100644 --- a/runtime/syntax/racket.vim +++ b/runtime/syntax/racket.vim @@ -4,7 +4,7 @@ " Previous Maintainer: Will Langstroth <will@langstroth.com> " URL: https://github.com/benknoble/vim-racket " Description: Contains all of the keywords in #lang racket -" Last Change: 2022 Aug 12 +" Last Change: 2023 Sep 22 " Initializing: if exists("b:current_syntax") @@ -514,13 +514,13 @@ syntax region racketString start=/\%(\\\)\@<!"/ skip=/\\[\\"]/ end=/"/ contains= syntax region racketString start=/#"/ skip=/\\[\\"]/ end=/"/ contains=racketStringEscapeError,racketStringEscape if exists("racket_no_string_fold") - syn region racketString start=/#<<\z(.*\)$/ end=/^\z1$/ + syn region racketHereString start=/#<<\z(.*\)$/ end=/^\z1$/ else - syn region racketString start=/#<<\z(.*\)$/ end=/^\z1$/ fold + syn region racketHereString start=/#<<\z(.*\)$/ end=/^\z1$/ fold endif -syntax cluster racketTop add=racketError,racketConstant,racketStruc,racketString +syntax cluster racketTop add=racketError,racketConstant,racketStruc,racketString,racketHereString " Numbers @@ -623,6 +623,7 @@ highlight default link racketFunc Function highlight default link racketString String highlight default link racketStringEscape Special +highlight default link racketHereString String highlight default link racketUStringEscape Special highlight default link racketStringEscapeError Error highlight default link racketChar Character |