fira-code-mode only on for org-mode files i've previously activated
elliottw opened this issue · 2 comments
elliottw commented
on macos spacemacs pretty clean .spacemacs
i am using (require 'fira-code-mode)
in my .spacemacs and installed fira-code-mode
also set default spacemacs font to Fira Code
dotspacemacs-default-font '("Fira Code"
:size 10.0
:weight normal
:width normal)
when navigating to a new org-mode file, there are no ligatures. when calling fira-code-mode ligatures appear.
jming422 commented
That’s correct - that’s the way minor modes like fira-code-mode
often work. To use fira-code-mode
automatically in org-mode, you need to add it to org-mode-hook
:
(add-hook 'org-mode-hook 'fira-code-mode)
elliottw commented
awesome thanks!! I guess i need to learn more about this stuff.