elixir-editors / emacs-elixir

Emacs major mode for Elixir
446 stars 94 forks source link

ExUnit functions highlighting issues. #462

Closed konstantinzolotarev closed 3 years ago

konstantinzolotarev commented 3 years ago

I'm pretty new to Emacs and might be will write something not very clear. Sorry for that.

Some ExUnit keywords are displaying incorrectly (at least for me)

Screenshot 2020-09-23 at 16 01 49

konstantinzolotarev commented 3 years ago

BTW I'm happy to help if you will point me in direction on how could it be achieved =)

jsmestad commented 3 years ago

So this could be your emacs theme not making use of all the built-in font-lock options in Emacs.

Where you need to add these if you want to propose them as an addition is inside this block of code.

What you may find is that describe is not a keyword per-se but a macro which is why it is not currently listed in the font-lock.

LMK if you need any more guidance on this one

konstantinzolotarev commented 3 years ago

@jsmestad Thank you very much. Will try to make required updates locally.