Using Hasklig on OSX for emacs
Fira has a weird issue with OSX where its displaying ligature symbols as hanzi characters. For the time being I'm going to use hasklig.
This commit is contained in:
		
							parent
							
								
									829f30540e
								
							
						
					
					
						commit
						d068046f1c
					
				| 
						 | 
					@ -3,8 +3,13 @@
 | 
				
			||||||
;; Use "," as leader.
 | 
					;; Use "," as leader.
 | 
				
			||||||
(setq doom-localleader-key ",")
 | 
					(setq doom-localleader-key ",")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;; Firacode is broken with Emacs-plus on osx. Fallback to Hasklig.
 | 
				
			||||||
 | 
					(if IS-MAC
 | 
				
			||||||
 | 
					  (setq doom-font (font-spec :family "Hasklig" :size 12))
 | 
				
			||||||
 | 
					  (setq doom-font (font-spec :family "FuraCode NF" :size 12))
 | 
				
			||||||
 | 
					  )
 | 
				
			||||||
 | 
					;;
 | 
				
			||||||
;; Set font
 | 
					;; Set font
 | 
				
			||||||
(setq doom-font (font-spec :family "FuraCode NF" :size 12))
 | 
					 | 
				
			||||||
(pcase (system-name)
 | 
					(pcase (system-name)
 | 
				
			||||||
  ("zuk"
 | 
					  ("zuk"
 | 
				
			||||||
   ;; Wayland support for high HDPI scaling has some issues.
 | 
					   ;; Wayland support for high HDPI scaling has some issues.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -48,7 +48,9 @@
 | 
				
			||||||
        +all                   ; catch all popups that start with an asterix
 | 
					        +all                   ; catch all popups that start with an asterix
 | 
				
			||||||
        +defaults)             ; default popup rules
 | 
					        +defaults)             ; default popup rules
 | 
				
			||||||
       (pretty-code            ; replace bits of code with pretty symbols
 | 
					       (pretty-code            ; replace bits of code with pretty symbols
 | 
				
			||||||
        +fira)
 | 
					        (:if IS-MAC +hasklig)  ; Pretty-code doesn't work with Fira on OSX. Falling back to hasklig.
 | 
				
			||||||
 | 
					        (:if IS-LINUX +fira)
 | 
				
			||||||
 | 
					        )
 | 
				
			||||||
       tabs                    ; an tab bar for Emacs
 | 
					       tabs                    ; an tab bar for Emacs
 | 
				
			||||||
       treemacs                ; a project drawer, like neotree but cooler
 | 
					       treemacs                ; a project drawer, like neotree but cooler
 | 
				
			||||||
       unicode                 ; extended unicode support for various languages
 | 
					       unicode                 ; extended unicode support for various languages
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user