Skip to content
This repository was archived by the owner on Jun 20, 2019. It is now read-only.
This repository was archived by the owner on Jun 20, 2019. It is now read-only.

no handler for ... #16

@ta3pks

Description

@ta3pks

when it starts it just fails with error

[LC] [Error] haskell-lsp:no handler for. Object (fromList [("jsonrpc",String "2.0"),("params",Object (fromList [("textDocument",Object (fromList [("languageId",String "elm"),("text",String "m odule HTTP exposing (main)\n\nimport Browser\nimport Html exposing (Html, div)\nimport Http\n\n\ntype alias Model =\n    { txt : String }\n\n\ntype Msg\n    = Get\n    | Got (Result Http.Erro r String)\n\n\nupdate : Msg -> Model -> ( Model, Cmd Msg )\nupdate msg model =\n    --{{{\n    case msg of\n        Get ->\n            ( model, Cmd.none )\n\n        Got m ->\n            ca se m of\n                Ok s ->\n                    ( { model | txt = s }, Cmd.none )\n\n                Err _ ->\n                    ( model, Cmd.none )\n\n\n\n--}}}\n\n\ninit : () -> ( M odel, Cmd Msg )\ninit _ =\n    ( Model \"\", Cmd.none )\n\n\nview : Model -> Html Msg\nview model =\n    div [] []\n\n\nsubscriptions : Model -> Sub msg\nsubscriptions model =\n    Sub.none\n \n\nmain =\n    Browser.element { init = init, view = view, update = update, subscriptions = subscriptions }\n"),("uri",String "file:///home/nikos/projects/elm_interface/src/HTTP.elm"),("vers ion",Number 0.0)]))])),("method",String "textDocument/didOpen")])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions