Comments (3)
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
which then get converted to colors by ansi-color-apply-on-region
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.
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.
from exunit.el.
Good to know. I was not sure how to even start debugging this π
from exunit.el.
Related Issues (10)
- Add ability to re-run last test HOT 4
- Add a binding for `mix test βfailed`? HOT 3
- ExUnit can't find the right Elixir install HOT 1
- `universal-argument` not working in Doom Emacs HOT 2
- Add ability to compile and run tests inside Docker container HOT 4
- Add minor mode similar to rspec-mode HOT 5
- Command to switch between the test and the source? HOT 1
- Stop the cursor from going purple when tests are run HOT 3
- Feature request: a way to run the tests in order HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exunit.el.