view runtime/ftplugin/dune.vim @ 33051:02939ae3aaca

runtime: Set b:undo_ftplugin where missing (#12943) Commit: https://github.com/vim/vim/commit/f937ab32a1ac3a560f217ca4ce8305ab2d5b0b74 Author: dkearns <dougkearns@gmail.com> Date: Tue Aug 29 05:32:27 2023 +1000 runtime: Set b:undo_ftplugin where missing (https://github.com/vim/vim/issues/12943) Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 28 Aug 2023 21:45:06 +0200
parents 15fa3923cc49
children
line wrap: on
line source

" 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<"