Fix bufferline

This commit is contained in:
elkowar 2022-02-02 12:26:55 +01:00
parent 59d79c12ec
commit 386ee59373
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
2 changed files with 10 additions and 21 deletions

View file

@ -3,7 +3,8 @@
nvim aniseed.nvim nvim aniseed.nvim
utils dots.utils utils dots.utils
colors dots.colors colors dots.colors
bufferline bufferline}}) bufferline bufferline}
require-macros [macros]})
; :h bufferline-lua-highlights ; :h bufferline-lua-highlights
(let [selected {:gui "" :guibg colors.neutral_aqua :guifg colors.dark0} (let [selected {:gui "" :guibg colors.neutral_aqua :guifg colors.dark0}
@ -25,19 +26,11 @@
:background visible :background visible
:buffer_visible visible :buffer_visible visible
:buffer_selected selected :buffer_selected selected
:modified visible :modified visible :modified_selected selected :modified_visible visible
:modified_visible visible :info visible :info_selected selected :info_visible visible
:modified_selected selected :warning visible :warning_selected selected :warning_visible visible
:error visible :error visible :error_selected selected :error_visible visible
:error_selected selected :duplicate visible :duplicate_selected selected :duplicate_visible visible
:error_visible selected
:warning visible
:warning_selected selected
:warning_visible visible
:duplicate visible
:duplicate_visible visible
:duplicate_selected selected
:diagnostic {:gui "" :guibg colors.dark1 :guifg colors.neutral_red} :diagnostic {:gui "" :guibg colors.dark1 :guifg colors.neutral_red}
:diagnostic_visible {:gui "" :guibg colors.dark1 :guifg colors.neutral_red} :diagnostic_visible {:gui "" :guibg colors.dark1 :guifg colors.neutral_red}
@ -62,7 +55,3 @@
:pick_selected {:guibg colors.bright_red :guifg colors.bright_red} :pick_selected {:guibg colors.bright_red :guifg colors.bright_red}
:tab_selected {:guibg colors.bright_green :guifg colors.bright_green} :tab_selected {:guibg colors.bright_green :guifg colors.bright_green}
:tab {:guibg colors.bright_yellow :guifg colors.bright_yellow}}})) :tab {:guibg colors.bright_yellow :guifg colors.bright_yellow}}}))
(utils.highlight :BufferLineInfoSelected {:bg colors.neutral_aqua :fg colors.dark0 :gui "NONE"})
(defn foo [] (print "hi"))

View file

@ -20,9 +20,9 @@
(.. (..
" "
augroup gitsignsHighlight augroup gitsignsHighlight
autocmd! ColorScheme * :hi! GitSignsAdd gui='NONE' guibg='NONE' guifg='" colors.bright_aqua "' autocmd ColorScheme * :hi! GitSignsAdd gui='NONE' guibg='NONE' guifg='" colors.bright_aqua "'
autocmd! ColorScheme * :hi! GitSignsDelete gui='NONE' guibg='NONE' guifg='" colors.neutral_red "' autocmd ColorScheme * :hi! GitSignsDelete gui='NONE' guibg='NONE' guifg='" colors.neutral_red "'
autocmd! ColorScheme * :hi! GitSignsChange gui='NONE' guibg='NONE' guifg='" colors.bright_blue "' autocmd ColorScheme * :hi! GitSignsChange gui='NONE' guibg='NONE' guifg='" colors.bright_blue "'
augroup END augroup END
")) "))
;(utils.highlight :GitSignsAdd {:bg "NONE" :fg colors.bright_aqua}) ;(utils.highlight :GitSignsAdd {:bg "NONE" :fg colors.bright_aqua})