Closed d4ncer closed 3 years ago
Found the issue, nano-defaults.el
sets this:
(setq font-lock-maximum-decoration nil)
which cause this form:
(font-lock-choose-keywords (nth 0 font-lock-defaults)
(font-lock-value-in-major-mode font-lock-maximum-decoration))
to return quote
instead of ('(web-mode-fontify) t)
for any buffer using or derived from web-mode
.
I've updated my own config to re-set this variable on load to:
(setq font-lock-maximum-decoration '((web-mode . t) (rk-web-tsx-mode . t) (t . nil)))
Where rk-web-tsx-mode
is my derived major mode for TSX files.
Thanks for the report and the explanation ! For the theme and modeline, I've moved them in individual packages to try to reduce such errors: nano-modeline nano-theme
First off, thank you for releasing this! It's a gorgeous foundation and I'm enjoying molding my config around it.
I'm having issues with
font-lock
inweb-mode
andweb-mode
derived buffers:Backtrace
Key Variables
font-lock-defaults : ('(web-mode-fontify) t)
font-lock-keywords : (t (([(),;{}] 0 ’parenthesis)) ([(),;{}] (0 ’parenthesis)))
What I've tried so far
web-mode
derived buffer for TSX, but I've been able to replicate it in a plainweb-mode
buffer, so I believe that's the issue.web-mode
Any help debugging further would be welcome!