From 2fb74089d3515077395299bce9df32e9e989a8ac Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 16 Feb 2022 08:54:25 +0900 Subject: rel: v0.1 - Disable lazy-loading plugins - Add more useful plugins - Fix bar from loading slowly - Add support for neomutt - Change keybinds - Add Editorconfig --- fnl/nvrc/colors.fnl | 42 ++++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 24 deletions(-) (limited to 'fnl/nvrc/colors.fnl') diff --git a/fnl/nvrc/colors.fnl b/fnl/nvrc/colors.fnl index 854b79f..7750814 100644 --- a/fnl/nvrc/colors.fnl +++ b/fnl/nvrc/colors.fnl @@ -5,8 +5,10 @@ :black "#181818" :black2 "#101010" :bblack "#252525" - :grey "#888888" + :dgrey "#333333" + :mgrey "#444444" :grey2 "#666666" + :grey "#888888" :bgrey "#999999" :red "#cf6a4c" :orange "#fabb6e" @@ -16,12 +18,12 @@ :skyblue "#8fbfdc" :blue "#8197bf" :violet "#c6b6ee" - :magenta "#f0a0c0" - :sign "#333333"}) + :magenta "#f0a0c0"}) -(fn colors.apply [] + +(lambda colors.apply [colorscheme] (local {: highlight} (require :nvrc.macro.color)) - (vim.cmd "colorscheme jellybeans") + (vim.cmd (.. "colorscheme " colorscheme)) ; Buffer (highlight :EndOfBuffer {:fg (. colors :bg)}) @@ -31,7 +33,7 @@ ; Pmenu (highlight :Pmenu {:bg (. colors :bblack)}) (highlight :PmenuSbar {:bg (. colors :bblack)}) - (highlight :PmenuSel {:fg (. colors :orange) :bg (. colors :sign)}) + (highlight :PmenuSel {:fg (. colors :orange) :bg (. colors :dgrey)}) (highlight :PmenuThumb {:bg (. colors :skyblue)}) (highlight :CmpItemAbbr {:fg (. colors :fg)}) (highlight :CmpItemAbbrMatch {:fg (. colors :fg)}) @@ -41,16 +43,19 @@ ; Misc (highlight :StatusLine {:bg (. colors :black)}) (highlight :StatusLineNC {:fg (. colors :grey) :bg (. colors :black) :underline true}) + (highlight :TabLine {:fg (. colors :fg) :bg (. colors :mgrey)}) + (highlight :TabLineFill {:fg (. colors :fg) :bg (. colors :bg)}) + (highlight :TabLineSel {:fg (. colors :fg) :bg (. colors :grey2)}) (highlight :LineNr {:fg (. colors :grey)}) (highlight :NvimInternalError {:fg (. colors :red)}) (highlight :VertSplit {:fg (. colors :grey2)}) - ; Gitsigns - (highlight :DiffAdd {:fg (. colors :green) :bg (. colors :sign)}) - (highlight :DiffChange {:fg (. colors :yellow) :bg (. colors :sign)}) - (highlight :DiffChangeDelete {:fg (. colors :red) :bg (. colors :sign)}) - (highlight :DiffModified {:fg (. colors :red) :bg (. colors :sign)}) - (highlight :DiffDelete {:fg (. colors :red) :bg (. colors :sign)}) + ; Gitdgreys + (highlight :DiffAdd {:fg (. colors :green) :bg (. colors :dgrey)}) + (highlight :DiffChange {:fg (. colors :yellow) :bg (. colors :dgrey)}) + (highlight :DiffChangeDelete {:fg (. colors :red) :bg (. colors :dgrey)}) + (highlight :DiffModified {:fg (. colors :red) :bg (. colors :dgrey)}) + (highlight :DiffDelete {:fg (. colors :red) :bg (. colors :dgrey)}) ; Nvimtree (highlight :NvimTreeNormal {:bg (. colors :black)}) @@ -65,17 +70,6 @@ (highlight :NvimTreeFolderIcon {:fg (. colors :skyblue)}) (highlight :NvimTreeFolderName {:fg (. colors :skyblue)}) (highlight :NvimTreeOpenedFolderName {:fg (. colors :magenta)}) - (highlight :NvimTreeEndOfBuffer {:fg (. colors :black2)}) - - ; Telescope - (highlight :TelescopeBorder {:fg (. colors :fg)}) - (highlight :TelescopePromptBorder {:fg (. colors :fg)}) - (highlight :TelescopePromptNormal {:fg (. colors :fg)}) - (highlight :TelescopePromptPrefix {:fg (. colors :red)}) - (highlight :TelescopeNormal {:bg :NONE}) - (highlight :TelescopePreviewTitle {:fg (. colors :nvimbg) :bg (. colors :green)}) - (highlight :TelescopePromptTitle {:fg (. colors :nvimbg) :bg (. colors :red)}) - (highlight :TelescopeResultsTitle {:fg (. colors :nvimbg) :bg (. colors :skyblue)}) - (highlight :TelescopeSelection {:link :Search})) + (highlight :NvimTreeEndOfBuffer {:fg (. colors :black2)})) colors -- cgit 1.4.1