From 55287efdf7679a4ceda261b03bce5172d6692640 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 25 Apr 2020 21:32:37 +0200 Subject: Change elm provider, closes #475 --- indent/elm.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'indent') diff --git a/indent/elm.vim b/indent/elm.vim index 01767696..e27c6e90 100644 --- a/indent/elm.vim +++ b/indent/elm.vim @@ -1,6 +1,6 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1 -" indentation for Elm (http://elm-lang.org/) +" indentation for Elm (https://elm-lang.org/) " Only load this indent file when no other was loaded. if exists('b:did_indent') @@ -17,6 +17,7 @@ setlocal nosmartindent " Comment formatting setlocal comments=s1fl:{-,mb:\ ,ex:-},:-- +setlocal commentstring=--\ %s " Only define the function once. if exists('*GetElmIndent') @@ -83,7 +84,7 @@ function! GetElmIndent() " Align bindings with the parent in. elseif l:lline =~# '^\s*in\>' - return l:ind + 4 + return l:ind endif -- cgit v1.2.3