aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorDimitar Apostolov <d.apostolov@gmail.com>2021-01-09 01:48:56 +0100
committerGitHub <noreply@github.com>2021-01-08 19:48:56 -0500
commitb535575acdb037c35a9b688bc2d8adc2f3dece8d (patch)
treefd58073cb768f7ba9dfab2224c0183d30b38ee5c /runtime/ftplugin
parentfe1ebea33914df137fdded98872fe38fa8470384 (diff)
downloadrneovim-b535575acdb037c35a9b688bc2d8adc2f3dece8d.tar.gz
rneovim-b535575acdb037c35a9b688bc2d8adc2f3dece8d.tar.bz2
rneovim-b535575acdb037c35a9b688bc2d8adc2f3dece8d.zip
runtime/elm: acc224064033e5cea21ef7f1eefb356ca06ff11d (#13718)
Port ftplugin, syntax and indent Elm files. Ref: #13193
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/elm.vim18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/ftplugin/elm.vim b/runtime/ftplugin/elm.vim
new file mode 100644
index 0000000000..1e10346186
--- /dev/null
+++ b/runtime/ftplugin/elm.vim
@@ -0,0 +1,18 @@
+" Elm filetype plugin file
+" Language: Elm
+" Maintainer: Andreas Scharf <as@99n.de>
+" Latest Revision: 2020-05-29
+
+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 &cpo = s:cpo_save
+unlet s:cpo_save