Reputation: 1519
I am having problems trying to get the PowerlineSymbols/Glyphs to displayed correctly on the powerline.
I have already tried all the available fonts suggested by Lokaltog. I have also tried to set the font to be used in my ~/.vimrc file in different ways, however for some reason the powerline keeps on displaying the wrong characters. I also changed the fonts in iTerm.
I have already tried the fontforge and this solutions:
This is how my ~/.vimrc
looks right for the powerline:
Bundle 'Lokaltog/vim-powerline'
let g:Powerline_symbols = "fancy"
"IndentationGuide <Leader>ig
Bundle 'nathanaelkane/vim-indent-guides.git'
let g:indent_guides_auto_colors = 0
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=#998f84 ctermbg=245
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=#d9cec3 ctermbg=252
This is a screenshot of what I am currently getting:
Not sure exactly what I am missing, I will a appreciate a push in the right direction. Thanks in advance.
Upvotes: 2
Views: 2714
Reputation: 41
I had the same problem, until I realized that I hadn't set the "Non-ASCII Font" in my iTerm preferences. iTerm uses that font to render Unicode glyphs (like those employed by Powerline).
Upvotes: 4