summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/dune.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/syntax/dune.vim')
-rw-r--r--runtime/syntax/dune.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/syntax/dune.vim b/runtime/syntax/dune.vim
index b4254057c0..3cfb47fbee 100644
--- a/runtime/syntax/dune.vim
+++ b/runtime/syntax/dune.vim
@@ -4,6 +4,7 @@
" Anton Kochkov <anton.kochkov@gmail.com>
" URL: https://github.com/ocaml/vim-ocaml
" Last Change:
+" 2023 Nov 24 - Add end-of-line strings (Samuel Hym)
" 2019 Feb 27 - Add newer keywords to the syntax (Simon Cruanes)
" 2018 May 8 - Check current_syntax (Kawahara Satoru)
" 2018 Mar 29 - Extend jbuild syntax with more keywords (Petter A. Urkedal)
@@ -38,6 +39,8 @@ syn keyword lispFunc ignore-stdout ignore-stderr ignore-outputs
syn keyword lispFunc with-stdout-to with-stderr-to with-outputs-to
syn keyword lispFunc write-file system bash
+syn region lispString start=+"\\[>|]+ end=+$+ contains=@Spell
+
syn cluster lispBaseListCluster add=duneVar
syn match duneVar '\${[@<^]}' containedin=lispSymbol
syn match duneVar '\${\k\+\(:\k\+\)\?}' containedin=lispSymbol