Coder Social home page Coder Social logo

Comments (3)

ananthakumaran avatar ananthakumaran commented on May 26, 2024 1

These colors come from the mix test ... command output, not via emacs font-locking. When we run mix test, it displays colors via ANSI escape codes

image

which then get converted to colors by ansi-color-apply-on-region

image

The same issue exists on the terminal as well, the filename is not readable on dark themes. The defface you pointed out on alchemist is not controlling the test output, but used in other places. If you really want to disable the ANSI colors, you could do (setq exunit-mix-test-default-options '("--no-color")), but other useful things like error diffs won't get colors as well. Another option is to change the color used by mix cli formatter

from exunit.el.

ryoung786 avatar ryoung786 commented on May 26, 2024 1

I ended up fixing this in my emacs (v30.0.50) by customizing ansi-color-black. MediumPurple2 worked best for my dark theme, but ymmv.

(custom-set-faces
 ;; other customizations ...
 '(ansi-color-black ((t (:background "MediumPurple2" :foreground "MediumPurple2")))))

The entire Ansi-Colors customization group is helpful too.

Screenshot 2023-07-06 at 11 21 52

from exunit.el.

jsmestad avatar jsmestad commented on May 26, 2024

Good to know. I was not sure how to even start debugging this πŸ‘

from exunit.el.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.