Created
October 24, 2014 04:50
-
-
Save waynr/64a64ef54c8a1346e2d2 to your computer and use it in GitHub Desktop.
yi.hs
This file contains 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
{-# LANGUAGE OverloadedStrings #-} | |
import Yi | |
import Yi.Style (Color(Default)) | |
main = yi $ myConfig | |
myConfig = defaultVimConfig | |
{ configUI = (configUI defaultVimConfig) { configTheme = myTheme } | |
} | |
defaultColor :: Yi.Style.Color | |
defaultColor = Yi.Style.Default | |
myTheme = defaultTheme `override` \super _ -> super | |
{ modelineAttributes = emptyAttributes { foreground = white | |
, background = defaultColor | |
} | |
} |
This file contains 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
{-# LANGUAGE OverloadedStrings #-} | |
import Yi | |
import Yi.Style (Color(Default)) | |
main = yi $ myConfig | |
myConfig = defaultVimConfig | |
{ configUI = (configUI defaultVimConfig) { configTheme = myTheme } | |
} | |
defaultColor :: Yi.Style.Color | |
defaultColor = Yi.Style.Default | |
myTheme = defaultTheme `override` \super _ -> super | |
{ modelineAttributes = emptyAttributes { foreground = white | |
, background = lightGrey | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment