[x] Are you using latest version of nim-mode? [YES]
[x] Are there message related to nim-mode in *Messages* buffer? [YES]
[x] Did you read README.md? [YES]
[x] Is your problem related to nimsuggest-mode? (company-mode, flycheck, or el-doc) [NO]
[x] Did you try nim-mode without nimsugggest-mode? What happened?
(Comment out nimsuggest-mode's config please)
[nimsuggest-mode is not installed but the error occurs]
And describe your problem:
When font-lock-maximum-decoration is an alist (((cperl-mode . 1) (t . t)) in my environment), nim-mode fails to font-lock the buffer with invalid-function error (seen in the *Messages* buffer).
I also tried to call font-lock-fontify-region manually and got following backtrace:
Conforming Bugs
Please tell us below:
*Messages*
buffer? [YES]And describe your problem:
When
font-lock-maximum-decoration
is an alist (((cperl-mode . 1) (t . t))
in my environment),nim-mode
fails to font-lock the buffer withinvalid-function
error (seen in the*Messages*
buffer).I also tried to call
font-lock-fontify-region
manually and got following backtrace:This does not occur when
font-lock-maximum-decoration
ist
, which is the default value.