Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Rainbow does not apply in Go editors #3

@scottrabin

Description

@scottrabin

Steps:

  1. Open user.behaviors
  2. (update-in behaviors [:+ :editor] conj :lt.plugins.rainbow/rainbow-parens) ; e.g.
    {:+ {
    :editor [:lt.objs.editor/no-wrap
    (:lt.objs.style/set-theme "solarized")
    :lt.plugins.rainbow/rainbow-parens
    :lt.objs.editor/line-numbers]}}
  3. Reload behaviors (if not automatic)
  4. Open any .go file with nested sets of (), {}, or []

Expected: Parenthesis (etc.) should be noticeably different in color, as they are in the behaviors file (where Rainbow works as expected)
Actual: There is no difference in the color of the parens, braces, or brackets

Does this plugin only work for Lisp languages? It seems like it should work for all langs; nothing in rainbow.cljs seems Clojure (and/or Lisp) specific.

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