aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/dune.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-07-14 17:26:40 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-07-14 23:55:57 +0200
commit79130c0fd393e3eef8e4c939c54ea3d3faec2149 (patch)
treee0ed0c4faff300b3025c7f4579f7378f2037f421 /runtime/syntax/dune.vim
parent60734dc76112c4142c6048839a0b93c2d48e77f3 (diff)
downloadrneovim-79130c0fd393e3eef8e4c939c54ea3d3faec2149.tar.gz
rneovim-79130c0fd393e3eef8e4c939c54ea3d3faec2149.tar.bz2
rneovim-79130c0fd393e3eef8e4c939c54ea3d3faec2149.zip
vim-patch:9.1.0586: ocaml runtime files are outdated
Problem: ocaml runtime files are outdated Solution: sync those files with the upstream repo, detect a few more ocaml files (Yinzuo Jiang) closes: vim/vim#15260 https://github.com/vim/vim/commit/700cf8cfa1e926e2ba676203b3ad90c2c2083f1d Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
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