mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-18 12:00:23 +01:00
Fix fold marker bug on windows
This commit is contained in:
@@ -86,15 +86,13 @@ if !exists('g:tagbar_usearrows')
|
||||
endif
|
||||
|
||||
|
||||
if has('multi_byte')
|
||||
if has('unix') && &encoding == 'utf-8' &&
|
||||
\ (empty(&termencoding) || &termencoding == 'utf-8')
|
||||
let s:icon_closed = '▶'
|
||||
let s:icon_open = '▼'
|
||||
elseif (has('win32') || has('win64')) && g:tagbar_usearrows
|
||||
let s:icon_closed = '▷'
|
||||
let s:icon_open = '◢'
|
||||
endif
|
||||
if has('multi_byte') && has('unix') && &encoding == 'utf-8' &&
|
||||
\ (empty(&termencoding) || &termencoding == 'utf-8')
|
||||
let s:icon_closed = '▶'
|
||||
let s:icon_open = '▼'
|
||||
elseif has('multi_byte') && (has('win32') || has('win64')) && g:tagbar_usearrows
|
||||
let s:icon_closed = '▷'
|
||||
let s:icon_open = '◢'
|
||||
else
|
||||
let s:icon_closed = '+'
|
||||
let s:icon_open = '-'
|
||||
|
||||
Reference in New Issue
Block a user