elm-tooling / elm-language-server-haskell

Elm language server written in haskell (archived). Use https://github.com/elm-tooling/elm-language-server instead.
BSD 3-Clause "New" or "Revised" License
52 stars 5 forks source link

no handler for ... #16

Open ta3pks opened 5 years ago

ta3pks commented 5 years ago

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")])