Created
October 20, 2014 04:24
-
-
Save lancelet/a26fde0c72c87336a4b9 to your computer and use it in GitHub Desktop.
yi.hs configuration (modeline doesn't seem to cooperate)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- in ~/.config/yi/yi.hs | |
| import Data.Monoid ((<>)) | |
| import Yi (Attributes(..), Config, UIConfig(..), configUI, defaultEmacsConfig, emptyAttributes, override, yi) | |
| import Yi.Style (Color(..), UIStyle(..), grey, withBg, withFg) | |
| import Yi.Style.Library (defaultTheme) | |
| config :: Config | |
| config = defaultEmacsConfig | |
| { configUI = (configUI defaultEmacsConfig) | |
| { configTheme = defaultTheme `override` \super _ -> super | |
| { modelineAttributes = emptyAttributes { background = grey } | |
| , modelineFocusStyle = withBg grey <> withFg (RGB 50 100 50) | |
| } | |
| } | |
| } | |
| main :: IO () | |
| main = yi $ config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment