Support commenting syntax in Elm

This commit is contained in:
Sébastien Lerique 2018-10-09 11:34:40 +02:00
parent 81f43f69e0
commit 681942e44b

View File

@ -20,7 +20,7 @@ hook global BufSetOption filetype=(c|cpp|dart|go|java|javascript|objc|php|rust|s
set-option buffer comment_block_end '*/' set-option buffer comment_block_end '*/'
} }
hook global BufSetOption filetype=(cabal|haskell|moon|idris) %{ hook global BufSetOption filetype=(cabal|haskell|moon|idris|elm) %{
set-option buffer comment_line '--' set-option buffer comment_line '--'
set-option buffer comment_block_begin '{-' set-option buffer comment_block_begin '{-'
set-option buffer comment_block_end '-}' set-option buffer comment_block_end '-}'