summaryrefslogblamecommitdiffstats
path: root/ftplugin/dune.vim
blob: c89e40d2a8dff9e7515a82626aa9a843b6ab16f8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
                                                                               

        
 







                                                              




                           
         


                        
                 

                       

                                                     
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'ftplugin/dune.vim')
  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
let b:did_ftplugin=1

setl lisp

" Comment string
setl commentstring=;\ %s
setl comments=n:;

setl iskeyword+=#,?,.,/

let b:undo_ftplugin = "setlocal lisp< cms< com< isk<"