(import-macros {: setup} :macros)

(local colors (require :solarized.colors))

(local theme
  {:fg        colors.fg
   :bg        colors.bg_alt
   :black     colors.black
   :skyblue   colors.paleblue
   :cyan      colors.cyan
   :green     colors.green
   :oceanblue colors.blue
   :magenta   colors.magenta
   :orange    colors.orange
   :red       colors.red
   :violet    colors.purple
   :white     colors.white
   :yellow    colors.yellow})

(setup :feline
  {:theme theme
   :force_inactive {:filetypes ["^neo\\-tree$"
                                "^aerial$"
                                "^packer$"
                                "^startify$"
                                "^fugitive$"
                                "^fugitiveblame$"
                                "^qf$"
                                "^help$"
                                "^DiffviewFileHistory"]
                    :buftypes  ["^terminal$"]
                    :bufnames  ["neo\\-.*"]}})
