neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

dune.vim (673B)


      1 " Language:    Dune buildsystem
      2 " Maintainer:  Markus Mottl        <markus.mottl@gmail.com>
      3 "              Anton Kochkov       <anton.kochkov@gmail.com>
      4 " URL:         https://github.com/ocaml/vim-ocaml
      5 " Last Change:
      6 "              2023 Aug 28 - Added undo_ftplugin (Vim Project)
      7 "              2018 Nov 03 - Added commentstring (Markus Mottl)
      8 "              2017 Sep 06 - Initial version (Etienne Millon)
      9 "              2024 Nov 09 - use setl instead of :set
     10 
     11 if exists("b:did_ftplugin")
     12  finish
     13 endif
     14 let b:did_ftplugin=1
     15 
     16 setl lisp
     17 
     18 " Comment string
     19 setl commentstring=;\ %s
     20 setl comments=:;
     21 
     22 setl iskeyword+=#,?,.,/
     23 
     24 let b:undo_ftplugin = "setl lisp< cms< com< isk<"