1
0
mirror of https://github.com/amix/vimrc synced 2025-08-02 02:44:59 +08:00

Updated plugins

This commit is contained in:
Amir Salihefendic
2018-09-24 21:40:17 -03:00
parent 6bd9eda8c3
commit a6b64938eb
199 changed files with 2897 additions and 980 deletions

View File

@ -58,7 +58,7 @@ snippet doc
-}
snippet p
|> ${0}
snippet program
snippet program Elm 0.18 program
import Html exposing (Html)
@ -100,3 +100,57 @@ snippet program
view : Model -> Html Msg
view model =
Html.text "Hello, sailor!"
snippet element
module Main exposing (Model, Msg(..), init, main, subscriptions, update, view)
import Browser
import Html exposing (..)
import Json.Encode
main : Program Flags Model Msg
main =
Browser.element
{ init = init
, update = update
, subscriptions = subscriptions
, view = view
}
type alias Model =
{}
type alias Flags =
Json.Encode.Value
init : Flags -> ( Model, Cmd Msg )
init flags_ =
( {}
, Cmd.none
)
type Msg
= Noop
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
Noop ->
( model
, Cmd.none
)
subscriptions : Model -> Sub Msg
subscriptions model =
Sub.none
view : Model -> Html Msg
view model =
h1 [] [ text "Hello, world!" ]