Skip to content

Instantly share code, notes, and snippets.

@waynr
Created October 24, 2014 04:50
Show Gist options
  • Save waynr/64a64ef54c8a1346e2d2 to your computer and use it in GitHub Desktop.
Save waynr/64a64ef54c8a1346e2d2 to your computer and use it in GitHub Desktop.
yi.hs
{-# 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
}
}
{-# 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