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

33 lines
549 B
XML
Executable File

<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>