ghc-mod-4 ã§faceãåæ ããã
ghc-mod-4以éã§ã¯ghc-modiã使ãããã«flymakeã¸ã®ä¾åãåã£ã¦ããï¼flymakeçãªæåã¯èªåã§å®ç¾ãã¦ããï¼
ãã®ããï¼ä»ã¾ã§åæ ããã¦ããflymakeç¨ã®faceè¨å®ãåæ ãããªããªãã®ã§ï¼ãã¼ã¸ã§ã³ã¢ããå¾æ¥ã«ãã³ããçµµé¢ã«ãªã£ããããï¼
ããï¼
(set-face-background 'flymake-errline "red4") (set-face-foreground 'flymake-errline "black") (set-face-background 'flymake-warnline "yellow") (set-face-foreground 'flymake-warnline "black")
ã®ããã«flymakeã®faceãè¨å®ãã¦ããã®ãªãï¼ãããåæ ãããã«ã¯ï¼ghc-modãç¬èªã«æã£ã¦ããfaceã«å¯¾ãã¦ãåæ§ã«è¨å®ããªããã°ãªããªãï¼
;; ghc-mod (autoload 'ghc-init "ghc" nil t) (add-hook 'haskell-mode-hook (lambda () (ghc-init) (set-face-background 'ghc-face-error "red4") (set-face-foreground 'ghc-face-error "black") (set-face-background 'ghc-face-warn "yellow") (set-face-foreground 'ghc-face-warn "black")))
ã¿ããªããã¤ããï¼