about summary refs log tree commit diff
path: root/fnl/nvrc/packs/feline.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc/packs/feline.fnl')
-rw-r--r--fnl/nvrc/packs/feline.fnl29
1 files changed, 2 insertions, 27 deletions
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)]