summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/dune.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ftplugin/dune.vim')
-rw-r--r--runtime/ftplugin/dune.vim23
1 files changed, 23 insertions, 0 deletions
diff --git a/runtime/ftplugin/dune.vim b/runtime/ftplugin/dune.vim
new file mode 100644
index 0000000..6e20a8f
--- /dev/null
+++ b/runtime/ftplugin/dune.vim
@@ -0,0 +1,23 @@
+" Language: Dune buildsystem
+" Maintainer: Markus Mottl <markus.mottl@gmail.com>
+" Anton Kochkov <anton.kochkov@gmail.com>
+" URL: https://github.com/ocaml/vim-ocaml
+" Last Change:
+" 2023 Aug 28 - Added undo_ftplugin (Vim Project)
+" 2018 Nov 03 - Added commentstring (Markus Mottl)
+" 2017 Sep 06 - Initial version (Etienne Millon)
+
+if exists("b:did_ftplugin")
+ finish
+endif
+let b:did_ftplugin=1
+
+set lisp
+
+" Comment string
+setl commentstring=;\ %s
+setl comments=:;
+
+setl iskeyword+=#,?,.,/
+
+let b:undo_ftplugin = "setl lisp< cms< com< isk<"