summaryrefslogtreecommitdiffstats
path: root/ftplugin/dune.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-01-01 17:09:30 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-01-01 17:09:30 +0100
commita81756029291d6e21295687515a3e58499c19b33 (patch)
tree81142fd6640ad9de3b38b7cb0e4bd798a6db86e0 /ftplugin/dune.vim
parent1f4236df3aaaec797e81572fd120a9d49d4035b9 (diff)
downloadvim-polyglot-a81756029291d6e21295687515a3e58499c19b33.tar.gz
vim-polyglot-a81756029291d6e21295687515a3e58499c19b33.zip
Add support for gleam, closes #655
Co-authored-by: Jeff Kreeftmeijer <jeffkreeftmeijer@gmail.com>
Diffstat (limited to 'ftplugin/dune.vim')
-rw-r--r--ftplugin/dune.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/ftplugin/dune.vim b/ftplugin/dune.vim
index 970c9825..92c471f4 100644
--- a/ftplugin/dune.vim
+++ b/ftplugin/dune.vim
@@ -2,6 +2,14 @@ if has_key(g:polyglot_is_disabled, 'ocaml')
finish
endif
+" 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:
+" 2018 Nov 3 - Added commentstring (Markus Mottl)
+" 2017 Sep 6 - Initial version (Etienne Millon)
+
if exists("b:did_ftplugin")
finish
endif
@@ -12,3 +20,5 @@ set lisp
" Comment string
setl commentstring=;\ %s
setl comments=:;
+
+setl iskeyword+=#,?,.,/