non / uxntal-mode

emacs major mode for the uxntal assembly language
Apache License 2.0
23 stars 3 forks source link

Syntax highlighting only partially working #8

Open goshatch opened 8 months ago

goshatch commented 8 months ago

Hello,

I'm using Doom Emacs with Emacs 29.1 on macOS, and when I install uxntal-mode, the syntax highlighting looks like in the screenshot below.

CleanShot 2024-01-11 at 17 26 32@2x

I've tried to install from both melpa, and from github.

This is how I am loading the package:

(package! uxntal-mode :recipe (:host github
                               :repo "non/uxntal-mode"
                               :files ("*.el")))
(use-package! uxntal-mode)

Is there anything I should be doing differently?

Thank you very much for your help!

azimut commented 3 months ago

I had the same issue, not using Doom, but with Emacs 29.3 from snap. In my case it was a rainbow-delimiters-mode hook I had put on prog-mode. After I disable it and restarted emacs, syntax highlight worked (thanks author!).