rougier / nano-emacs

GNU Emacs / N Λ N O - Emacs made simple
GNU General Public License v3.0
2.54k stars 195 forks source link

Python syntax highlighting #124

Open johnjmolina opened 2 years ago

johnjmolina commented 2 years ago

Hello!

Thanks for the great emacs theme.

I've been using nano-emacs for most of my writing, but I can't seem to get the syntax highlighting to work on python files (lisp, c/c++ are OK). Whenever I open a python file (python-mode) only strings are highlighted, not any of the keywords. Is this expected behavior?

python
rougier commented 2 years ago

This is what I get using nano-theme that is available on ELPA:

Screenshot 2022-08-08 at 19 55 11
johnjmolina commented 2 years ago

Thanks! I installed it using straight.el, but other than that I'm not really sure where the difference might be. I'll post the issue/fix if I manage to find and solve it.

rougier commented 2 years ago

The nano-theme package has a lot of face definitions that are not present in nano-emacs.