You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doom emacs uses nerd icons for it's mode-line.
When using treesit-auto it changes the auto-mode-alist so that one entry of it is (nil . glsl-ts-mode).
This causes problems when opening a file, because the function that searches for a fitting icon for that file in the modeline can not handle the nil it seems:
Doing a simple (delete 'glsl treesit-auto-langs) makes nerdicons work again. I don't know what glsl is so I don't care that much for it's ts mode. But something off in treesit-autos generating of auto-mode-alist it seems.
The text was updated successfully, but these errors were encountered:
Doom emacs uses nerd icons for it's mode-line.
When using treesit-auto it changes the auto-mode-alist so that one entry of it is (nil . glsl-ts-mode).
This causes problems when opening a file, because the function that searches for a fitting icon for that file in the modeline can not handle the nil it seems:
Without treesit-auto the entry in auto-mode-alist looks like this:
("\.glsl\'" . glsl-mode)
My treesit-auto config looks like this:
Doing a simple
(delete 'glsl treesit-auto-langs)
makes nerdicons work again. I don't know what glsl is so I don't care that much for it's ts mode. But something off in treesit-autos generating of auto-mode-alist it seems.The text was updated successfully, but these errors were encountered: