ElmCast / elm-vim

Elm plugin for Vim
BSD 3-Clause "New" or "Revised" License
573 stars 102 forks source link

Syntax: Support type annotations that span multiple lines #126

Open cjlucas opened 7 years ago

cjlucas commented 7 years ago

This adds support for function annotations that span multiple lines. Below is an example (generated by elm-format):

foo :
    String
    -> String    

Currently, the function name foo is not being highlighted. Removing the check for trailing whitespace was sufficient to fix this issue.

bitterjug commented 6 years ago

:+1: