diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-04-25 21:32:37 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-04-25 21:32:37 +0200 |
commit | 55287efdf7679a4ceda261b03bce5172d6692640 (patch) | |
tree | 9c1e17fadca966ad94a6dc868e2c935ca507897c /indent | |
parent | d757bfd643cc73c2d495355c153ed0257f5d5b47 (diff) | |
download | vim-polyglot-55287efdf7679a4ceda261b03bce5172d6692640.tar.gz vim-polyglot-55287efdf7679a4ceda261b03bce5172d6692640.zip |
Change elm provider, closes #475
Diffstat (limited to 'indent')
-rw-r--r-- | indent/elm.vim | 5 |
1 files changed, 3 insertions, 2 deletions
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 |