Skip to content

Commit af03935

Browse files
author
Jorge Israel Peña
committed
clean up the merge
1 parent 84527c2 commit af03935

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

highlighters/main/main-highlighter.zsh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
: ${ZSH_HIGHLIGHT_STYLES[commandseparator]:=none}
4242
: ${ZSH_HIGHLIGHT_STYLES[hashed-command]:=fg=green}
4343
: ${ZSH_HIGHLIGHT_STYLES[path]:=underline}
44-
: ${ZSH_HIGHLIGHT_STYLES[path_separator]:=fg=cyan}
4544
: ${ZSH_HIGHLIGHT_STYLES[path_prefix]:=underline}
4645
: ${ZSH_HIGHLIGHT_STYLES[path_approx]:=fg=yellow,underline}
4746
: ${ZSH_HIGHLIGHT_STYLES[globbing]:=fg=blue}
@@ -184,19 +183,6 @@ _zsh_highlight_main_highlighter_check_assign()
184183
[[ $arg == [[:alpha:]_][[:alnum:]_]#(|\[*\])=* ]]
185184
}
186185

187-
_zsh_highlight_main_highlighter_highlight_path_separators()
188-
{
189-
local pos style
190-
style=$ZSH_HIGHLIGHT_STYLES[path_separator]
191-
for (( pos = 0; $pos < ${#BUFFER}; pos++ )) ; do
192-
local char="$BUFFER[pos+1]"
193-
194-
if [[ "$char" == "/" ]]; then
195-
region_highlight+=("$pos $((pos + 1)) $style")
196-
fi
197-
done
198-
}
199-
200186
_zsh_highlight_main_highlighter_highlight_path_separators()
201187
{
202188
local pos style

0 commit comments

Comments
 (0)