Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make highlighting of module line more permissive #99

Open
evancz opened this issue Apr 6, 2016 · 2 comments
Open

Make highlighting of module line more permissive #99

evancz opened this issue Apr 6, 2016 · 2 comments

Comments

@evancz
Copy link
Contributor

evancz commented Apr 6, 2016

One of the changes on the table for 0.17 is the following tweak to module declarations:

-- OLD
module Foo (a, b, c) where

-- NEW
module Foo exposing (a, b, c)

The current syntax highlighting freaks out if there is no where at the end and messes up highlighting for the whole file. Is there any way it can be made more flexible in the lead up to 0.17 just for me? Like is there something I can tweak locally even?

I currently have to do module Whatever exposing (..) -- where to make both Elm and the syntax highlighter happy, which is doable, but I risk checking this kind of weird thing in.

@deadfoxygrandpa
Copy link
Owner

OK, thanks for the heads up. I'll change this very soon.

On Thu, Apr 7, 2016 at 4:58 AM, Evan Czaplicki [email protected]
wrote:

One of the changes on the table for 0.17 is the following tweak to module
declarations:

-- OLDmodule Foo (a, b, c) where
-- NEWmodule Foo exposing (a, b, c)

The current syntax highlighting freaks out if there is no where at the
end and messes up highlighting for the whole file. Is there any way it can
be made more flexible in the lead up to 0.17 just for me? Like is there
something I can tweak locally even?

I currently have to do module Whatever exposing (..) -- where to make
both Elm and the syntax highlighter happy, which is doable, but I risk
checking this kind of weird thing in.


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#99

@mordrax
Copy link

mordrax commented May 13, 2016

module CounterPair exposing (init, update, view) --where
Workaround until PR is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants