From 386ee59373d538385573f1f9eb3722d9eae81302 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Wed, 2 Feb 2022 12:26:55 +0100 Subject: [PATCH] Fix bufferline --- .../nvim/fnl/dots/plugins/bufferline.fnl | 25 ++++++------------- .../nvim/fnl/dots/plugins/gitsigns.fnl | 6 ++--- 2 files changed, 10 insertions(+), 21 deletions(-) diff --git a/nvim/.config/nvim/fnl/dots/plugins/bufferline.fnl b/nvim/.config/nvim/fnl/dots/plugins/bufferline.fnl index 56a6674..2f015f7 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/bufferline.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/bufferline.fnl @@ -3,7 +3,8 @@ nvim aniseed.nvim utils dots.utils colors dots.colors - bufferline bufferline}}) + bufferline bufferline} + require-macros [macros]}) ; :h bufferline-lua-highlights (let [selected {:gui "" :guibg colors.neutral_aqua :guifg colors.dark0} @@ -25,19 +26,11 @@ :background visible :buffer_visible visible :buffer_selected selected - :modified visible - :modified_visible visible - :modified_selected selected - :error visible - :error_selected selected - :error_visible selected - :warning visible - :warning_selected selected - :warning_visible visible - - :duplicate visible - :duplicate_visible visible - :duplicate_selected selected + :modified visible :modified_selected selected :modified_visible visible + :info visible :info_selected selected :info_visible visible + :warning visible :warning_selected selected :warning_visible visible + :error visible :error_selected selected :error_visible visible + :duplicate visible :duplicate_selected selected :duplicate_visible visible :diagnostic {: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} :tab_selected {:guibg colors.bright_green :guifg colors.bright_green} :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")) diff --git a/nvim/.config/nvim/fnl/dots/plugins/gitsigns.fnl b/nvim/.config/nvim/fnl/dots/plugins/gitsigns.fnl index 25548ec..6434741 100644 --- a/nvim/.config/nvim/fnl/dots/plugins/gitsigns.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins/gitsigns.fnl @@ -20,9 +20,9 @@ (.. " augroup gitsignsHighlight - 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! GitSignsChange gui='NONE' guibg='NONE' guifg='" colors.bright_blue "' + 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! GitSignsChange gui='NONE' guibg='NONE' guifg='" colors.bright_blue "' augroup END ")) ;(utils.highlight :GitSignsAdd {:bg "NONE" :fg colors.bright_aqua})