From fff8ea45c00769ce3da9eead16bb00b0c877776a Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 27 Feb 2022 09:15:52 +0900 Subject: feat(feline): remove redundant git module --- fnl/nvrc/packs/feline.fnl | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) (limited to 'fnl/nvrc/packs/feline.fnl') diff --git a/fnl/nvrc/packs/feline.fnl b/fnl/nvrc/packs/feline.fnl index e75ad8e..fc4a082 100644 --- a/fnl/nvrc/packs/feline.fnl +++ b/fnl/nvrc/packs/feline.fnl @@ -2,7 +2,6 @@ (local lsp (require :feline.providers.lsp)) (local lsp_severity vim.diagnostic.severity) (local vi_mode (require :feline.providers.vi_mode)) -(local git (require :feline.providers.git)) (local colors (require :nvrc.colors)) (local utils (require :nvrc.utils)) @@ -81,27 +80,7 @@ :enabled #(lsp.diagnostics_exist lsp_severity.HINT) :left_sep " " :icon :H - :hl {:fg (. colors :white)}}} - :git {:branch {:provider :git_branch - :enabled #(git.git_info_exists) - :icon "*" - :right_sep " " - :hl {:fg (. colors :violet) :style :bold}} - :add {:provider :git_diff_added - :enabled #(git.git_info_exists) - :icon "+" - :right_sep " " - :hl {:fg (. colors :green)}} - :change {:provider :git_diff_changed - :enabled #(git.git_info_exists) - :icon "~" - :right_sep " " - :hl {:fg (. colors :orange)}} - :remove {:provider :git_diff_removed - :enabled #(git.git_info_exists) - :icon "-" - :right_sep " " - :hl {:fg (. colors :red)}}}}) + :hl {:fg (. colors :white)}}}}) (local comps {:left {:active [(. modules :pad) (. modules :vi_mode) @@ -113,11 +92,7 @@ (. modules :lsp :diag_info) (. modules :lsp :diag_hint)] :inactive []} - :right {:active [(. modules :git :branch) - (. modules :git :add) - (. modules :git :change) - (. modules :git :remove) - (. modules :file :encoding) + :right {:active [(. modules :file :encoding) (. modules :file :type) (. modules :line_percentage) (. modules :scroll_bar)] -- cgit 1.4.1