" The MIT License (MIT)
"
" Copyright (c) 2013 Evgeni Kolev

let s:simple_symbols = {
    \ 'left'           : '',
    \ 'right'          : '',
    \ 'left_alt'       : '|',
    \ 'right_alt'      : '|',
    \ 'dir_sep'        : ' / ',
    \ 'truncation' : '...',
    \ 'vcs_branch'     : '',
    \ 'space'          : ' '}

let s:powerline_symbols = extend(copy(s:simple_symbols), {
    \ 'left'           : '',
    \ 'right'          : '',
    \ 'left_alt'       : '',
    \ 'right_alt'      : '',
    \ 'dir_sep'        : '  ',
    \ 'truncation' : '⋯',
    \ 'vcs_branch'     : ' '})

fun! promptline#symbols#get()
  let use_powerline_symbols = get(g:, 'promptline_powerline_symbols', 1)
  let symbols = use_powerline_symbols ? s:powerline_symbols : s:simple_symbols
  return extend(symbols, get(g:, 'promptline_symbols', {}))
endfun

" The MIT License (MIT)
"
" Copyright (c) 2013 Evgeni Kolev

let s:simple_symbols = {
    \ 'left'           : '',
    \ 'right'          : '',
    \ 'left_alt'       : '|',
    \ 'right_alt'      : '|',
    \ 'dir_sep'        : ' / ',
    \ 'truncation' : '...',
    \ 'vcs_branch'     : '',
    \ 'space'          : ' '}

let s:powerline_symbols = extend(copy(s:simple_symbols), {
    \ 'left'           : '',
    \ 'right'          : '',
    \ 'left_alt'       : '',
    \ 'right_alt'      : '',
    \ 'dir_sep'        : '  ',
    \ 'truncation' : '⋯',
    \ 'vcs_branch'     : ' '})

fun! promptline#symbols#get()
  let use_powerline_symbols = get(g:, 'promptline_powerline_symbols', 1)
  let symbols = use_powerline_symbols ? s:powerline_symbols : s:simple_symbols
  return extend(copy(symbols), get(g:, 'promptline_symbols', {}))
endfun

Fix bug which can modify the hard-coded separators
Fix bug which can modify the hard-coded separators

edkolev/promptline.vim,jmartiuk5/promptline.vim,nekonyuu/promptline.vim