@@ -107,19 +107,6 @@ M.setup = function()
107107 create_highlight_group (M .FLOAT_TITLE , {}, float_border_hl .background , normal_hl .foreground )
108108 create_highlight_group (M .TITLE_BAR , {}, float_border_hl .foreground , nil )
109109
110- local added = create_highlight_group (
111- M .GIT_ADDED ,
112- { " GitGutterAdd" , " GitSignsAdd" },
113- nil ,
114- " 5faf5f"
115- )
116- create_highlight_group (M .GIT_DELETED , { " GitGutterDelete" , " GitSignsDelete" }, nil , " ff5900" )
117- create_highlight_group (M .GIT_MODIFIED , { " GitGutterChange" , " GitSignsChange" }, nil , " d7af5f" )
118- local conflict = create_highlight_group (M .GIT_CONFLICT , {}, nil , " ff8700" , " italic,bold" )
119- create_highlight_group (M .GIT_IGNORED , { M .DOTFILE }, nil , nil )
120- create_highlight_group (M .GIT_RENAMED , { M .GIT_MODIFIED }, nil , nil )
121- create_highlight_group (M .GIT_UNTRACKED , {}, nil , conflict .foreground , " italic" )
122-
123110 create_highlight_group (M .BUFFER_NUMBER , { " SpecialChar" })
124111 create_highlight_group (M .DIM_TEXT , {}, nil , " 505050" )
125112 create_highlight_group (M .DOTFILE , {}, nil , " 626262" )
@@ -135,6 +122,19 @@ M.setup = function()
135122 create_highlight_group (M .ROOT_NAME , {}, nil , nil , " bold,italic" )
136123 create_highlight_group (M .INDENT_MARKER , { M .DIM_TEXT })
137124 create_highlight_group (M .EXPANDER , { M .DIM_TEXT })
125+
126+ local added = create_highlight_group (
127+ M .GIT_ADDED ,
128+ { " GitGutterAdd" , " GitSignsAdd" },
129+ nil ,
130+ " 5faf5f"
131+ )
132+ create_highlight_group (M .GIT_DELETED , { " GitGutterDelete" , " GitSignsDelete" }, nil , " ff5900" )
133+ create_highlight_group (M .GIT_MODIFIED , { " GitGutterChange" , " GitSignsChange" }, nil , " d7af5f" )
134+ local conflict = create_highlight_group (M .GIT_CONFLICT , {}, nil , " ff8700" , " italic,bold" )
135+ create_highlight_group (M .GIT_IGNORED , { M .DOTFILE }, nil , nil )
136+ create_highlight_group (M .GIT_RENAMED , { M .GIT_MODIFIED }, nil , nil )
137+ create_highlight_group (M .GIT_UNTRACKED , {}, nil , conflict .foreground , " italic" )
138138end
139139
140140return M
0 commit comments