summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/elm.vim
blob: 8c2de190b07af082a7316c5a8c1fc8edb7806dc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
" Elm filetype plugin file
" Language: Elm
" Maintainer: Andreas Scharf <as@99n.de>
" Latest Revision: 2022-04-25

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

let s:cpo_save = &cpo
set cpo&vim

setlocal comments=s1fl:{-,mb:\ ,ex:-},:--
setlocal commentstring=--\ %s

let b:undo_ftplugin = "setl com< cms<"

let &cpo = s:cpo_save
unlet s:cpo_save