Skip to content

Releases: alphapapa/prism.el

v0.3.3

03 Jun 21:16
v0.3.3
Compare
Choose a tag to compare

Compatibility

  • Depend on Emacs 27.1 or later. (This was actually needed since v0.3.2, but was overlooked then.)

Fixes

  • Infinite loop in prism-match when a double-prefixed comment appears next to a non-comment, non-whitespace character. (#26. Thanks to Daniel Neal for reporting.)
  • Call face-attribute with its inherit argument specified as default. (Fixes #22. Thanks to Bram Schoenmakers for reporting.)

0.3.2

24 May 11:37
0.3.2
Compare
Choose a tag to compare
Release: v0.3.2

0.3

19 May 10:12
0.3
Compare
Choose a tag to compare
0.3

Added

  • Option prism-parens, which allows parenthesis characters (by syntax type, not only ( )) to be colorized differently (e.g. to make them fade away or stand out). The function prism-set-colors's new argument, parens-fn, defaults to one which fades parens into the background (which only applies when the option is enabled).

Changed

  • Both prism-mode and prism-whitespace-mode deactivate the other mode when activated, allowing them to be switched between without having to disable one first.

Fixed

  • Code comments in strings (or what appeared to be, e.g. "Foo; bar" in Lisp) were fontified as comments rather than strings.
  • End-of-buffer errors signaled in font-lock-fontify-keywords-region. (Fixes #6. With thanks to @vuori and @piknik.)
  • Call font-lock-flush when disabling modes. (Thanks to Joseph Turner for reporting.)
  • Infinite loop with certain buffer contents (involving strings directly adjacent to other tokens). (Fixes #18. Thanks to @nathanvy for reporting.)

0.2.2

07 Dec 00:56
0.2.2
Compare
Choose a tag to compare
Release: 0.2.2