镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Atom doesn't recognize keyword: val as different than a normal param. #61

Closed

Description

@envygeeks

Can we please get highlighting support for:

def function(keyword: var)
  "win"
end

So that we can highlight the keyword different than a normal param.

Activity

  1. kevinsawicki commented on Oct 6, 2014

    @kevinsawicki
    Contributor

    Any suggestions for how you'd like it to look?

  2. envygeeks commented on Oct 6, 2014

    @envygeeks
    ContributorAuthor

    Personally in my head it was just tagging "keyword" class onto the already existing classes so that we could just do function.parameter.keyword {} (or even just parameter.keyword) when we highlight function arguments.

  3. jeremyf commented on Jul 9, 2015

    @jeremyf

    @kevinsawicki I also think that adding "keyword" to the correspond classes would be great.

  4. andrefreitas commented on Sep 28, 2015

    @andrefreitas

    Any update on this?

  5. mamenama commented on Oct 30, 2015

    @mamenama
    Contributor

    Just added cd70667 to PR #113 which gives the symbols in the hash the class constant.other.symbol.hashkey.ruby consistent with other symbol hashkeys. Is this along the lines of what you were looking for? (We can tag it something else, I suppose, but I was trying to be consistent with other symbols - let me know)

  6. envygeeks commented on Oct 30, 2015

    @envygeeks
    ContributorAuthor

    Thanks @mamenama! I think I would also add function.paramater to it as well!

  7. mamenama commented on Oct 30, 2015

    @mamenama
    Contributor

    OK - added them in 41fb848 which is now also part of PR #113 - take a look and let me know if that's what you were looking for.

  8. winstliu commented on Nov 18, 2015

    @winstliu
    Contributor

    Fixed by #113.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions