dotfiles/sublime/.config/sublime-text-3/Packages/User/elmtemplate.sublime-snippet

33 lines
549 B
Plaintext
Raw Permalink Normal View History

2018-10-01 04:51:07 +00:00
<snippet>
<content><![CDATA[
import Html exposing (..)
-- MODEL
type alias Model = { ... }
-- UPDATE
type Msg = Reset | ...
update : Msg -> Model -> Model
update msg model =
case msg of
Reset -> ...
...
-- VIEW
view : Model -> Html Msg
view model =
...
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>elmtemplate</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.elm</scope>
</snippet>