about summary refs log tree commit diff
path: root/fnl/nvrc/colors.fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-27 23:57:08 +0900
committersefidel <contact@sefidel.net>2022-02-27 23:58:05 +0900
commita15747ea28b1011d96aea09bc9779cb5f11ca7a9 (patch)
tree75ba23a8850a4eb57669a4980721b9f02d558884 /fnl/nvrc/colors.fnl
parent56bf0ffd4304c610021268c675a59a4470fb29c6 (diff)
downloadnvimrc-a15747ea28b1011d96aea09bc9779cb5f11ca7a9.tar.gz
nvimrc-a15747ea28b1011d96aea09bc9779cb5f11ca7a9.zip
feat(ui): feline -> homebrew statusline
Diffstat (limited to 'fnl/nvrc/colors.fnl')
-rw-r--r--fnl/nvrc/colors.fnl39
1 files changed, 27 insertions, 12 deletions
diff --git a/fnl/nvrc/colors.fnl b/fnl/nvrc/colors.fnl
index 074d870..bfc3ebf 100644
--- a/fnl/nvrc/colors.fnl
+++ b/fnl/nvrc/colors.fnl
@@ -25,6 +25,19 @@
   (import-macros {: highlight! : link!} :nvrc.macro.color)
   (vim.cmd (.. "colorscheme " colorscheme))
 
+  ; Statusline
+  (highlight! :StatusLine {:fg (. colors :fg) :bg (. colors :bg)})
+  (highlight! :StatusLineNC {:fg (. colors :grey) :bg (. colors :black) :underline true})
+  (highlight! :StatusLinePad {:fg (. colors :skyblue) :bg (. colors :bg)})
+  (highlight! :StatusLineAccent {:fg (. colors :green) :bg (. colors :bg)})
+  (highlight! :StatusLineInsertAccent {:fg (. colors :red) :bg (. colors :bg)})
+  (highlight! :StatusLineVisualAccent {:fg (. colors :yellow) :bg (. colors :bg)})
+  (highlight! :StatusLineReplaceAccent {:fg (. colors :violet) :bg (. colors :bg)})
+  (highlight! :StatusLineCmdLineAccent {:fg (. colors :green) :bg (. colors :bg)})
+  (highlight! :StatusLineTerminalAccent {:fg (. colors :skyblue) :bg (. colors :bg)})
+  (highlight! :StatusLineFile {:fg (. colors :orange) :bg (. colors :bg) :bold true})
+  (highlight! :StatusLineFileData {:fg (. colors :magenta) :bg (. colors :bg) :bold true})
+
   ; Buffer
   (highlight! :EndOfBuffer {:fg (. colors :bg)})
   (highlight! :FloatBorder {:fg (. colors :blue)})
@@ -40,21 +53,15 @@
   (highlight! :CmpItemKind {:fg (. colors :fg)})
   (highlight! :CmpItemMenu {:fg (. colors :fg)})
 
-  ; Misc
-  (highlight! :StatusLine {:bg (. colors :bg)})
-  (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)})
-
   ; LSP
   (highlight! :DiagnosticError {:fg (. colors :red)})
   (highlight! :DiagnosticWarn {:fg (. colors :yellow)})
-  (highlight! :DiagnosticInformation {:fg (. colors :green)})
+  (highlight! :DiagnosticInfo {:fg (. colors :green)})
   (highlight! :DiagnosticHint {:fg (. colors :grey)})
+  (highlight! :DiagnosticSignError {:fg (. colors :red) :bg (. colors :bg)})
+  (highlight! :DiagnosticSignWarn {:fg (. colors :yellow) :bg (. colors :bg)})
+  (highlight! :DiagnosticSignInfo {:fg (. colors :green) :bg (. colors :bg)})
+  (highlight! :DiagnosticSignHint {:fg (. colors :grey) :bg (. colors :bg)})
   (highlight! :LspReferenceRead {:underline true})
   (highlight! :LspReferenceText {:underline true})
   (highlight! :LspReferenceWrite {:underline true})
@@ -70,6 +77,14 @@
   (highlight! :LirSymLink {:fg (. colors :grey)})
   (highlight! :LirEmptyDirText {:fg (. colors :blue)})
   (highlight! :LirFloatCurdirWindowNormal {:bg (. colors :black)})
-  (highlight! :LirFloatCurdirWindowDirName {:fg (. colors :skyblue)}))
+  (highlight! :LirFloatCurdirWindowDirName {:fg (. colors :skyblue)})
+
+  ; Misc
+  (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)}))
 
 colors