Skip to content

Commit

Permalink
Add multi-line comments for Elm (#283)
Browse files Browse the repository at this point in the history
Technically the minimum necessary syntax for block comments requires
only a single hyphen (`-}`, `{-`), but I have found that using a double
hyphen plays a bit more nicely with the elmcast/elm-vim auto-formatting.
Further, uncommenting when using the single dashes leaves an extra level
of indentation (again, when using elmcast/elm-vim).
  • Loading branch information
zack authored and alerque committed Feb 20, 2017
1 parent c5f8cbf commit 59552f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/NERD_commenter.vim
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ let s:delimiterMap = {
\ 'eiffel': { 'left': '--' },
\ 'elf': { 'left': "'" },
\ 'elixir': { 'left': '#' },
\ 'elm': { 'left': '--' },
\ 'elm': { 'left': '--', 'leftAlt': '{--', 'rightAlt': '--}' },
\ 'elmfilt': { 'left': '#' },
\ 'ember-script': { 'left': '#' },
\ 'emblem': { 'left': '/' },
Expand Down

0 comments on commit 59552f2

Please sign in to comment.