blob: c5b30dda6e89adaca17a73c3cca586e00ff594f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<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>
|