Skip to content

Commit 518dd68

Browse files
author
skywind3000
committed
follow icon_separator in cmdline message
1 parent e83610f commit 518dd68

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

autoload/navigator/display.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,12 @@ function! navigator#display#update(content, info) abort
455455
if a:info.mode != 0
456456
let path = a:info.path
457457
let size = len(path)
458+
let sep = a:info.separator
458459
for name in path
459460
echohl NavigatorKey
460461
echon name
461462
echohl NavigatorSeparator
462-
echon ' => '
463+
echon ' ' . sep . ' '
463464
endfor
464465
echohl None
465466
endif

autoload/navigator/state.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ function! navigator#state#select_window(keymap, path) abort
182182
call navigator#state#resize(ctx)
183183
let info = {}
184184
let info.path = path
185+
let info.separator = s:config('icon_separator')
185186
let info.mode = s:config('display_path')
186187
let info.pg_index = pg_index
187188
let info.pg_count = pg_count

0 commit comments

Comments
 (0)