Skip to content

Missing Unicode symbols (maybe Powerline symbols issue?) #103

@wbthomason

Description

@wbthomason

This might be related to #8, but, as the below screenshots show, I'm seeing an odd subset of symbols missing in FVim vs. terminal Neovim.

Here's FVIM:
fvim

And here's terminal Neovim (in Kitty):
correct

You'll notice that the symbols for ALE on the sign bar aren't rendered correctly, nor are some of the statusline symbols, nor the symbols for coc.nvim.

The relevant part of my ginit.vim is

  set guifont=Fira\ Code\ Retina:h11
  FVimFontAntialias v:true
  FVimFontAutohint v:true
  FVimFontSubpixel v:true
  FVimFontLcdRender v:true
  FVimFontHintLevel 'full'
  FVimFontAutoSnap v:true
  nnoremap <silent> <C-ScrollWheelUp> :set guifont=+<CR>
  nnoremap <silent> <C-ScrollWheelDown> :set guifont=-<CR>

my Kitty config uses the following fonts

font_family      FiraCode-Retina
bold_font        Fira Code Bold
italic_font      Roboto Mono Italic Nerd Font Complete Mono
bold_italic_font Roboto Mono Bold Italic Nerd Font Complete Mono
font_size 10.0

and I'm on Arch Linux with the latest AUR FVim and Neovim built from master 12/12/2019.

The additional difference in the FVim screenshot - the coc.nvim documentation floating window showing vs. in terminal Neovim - seems to be due to some weird interaction with FVim and coc.nvim. I sometimes see the first item selected and confirmed instantly for me in FVim whereas it is not in Neovim. This seems like a separate issue, though.

The specific symbols not rendering are:

  • 🗙, ➤ in the sign bar
  • ⏺ in the statusline at the lower left-hand corner - I suspect this might be due to a width issue, as the very similar symbol ● renders correctly slightly to the right in the statusline.
  • The following list of symbols in coc.nvim (taken from my coc-config.json):
  "suggest.completionItemKindLabels": {
    "function": "\uf794",
    "method": "\uf6a6",
    "variable": "\uf71b",
    "constant": "\uf8ff",
    "struct": "\ufb44",
    "class": "\uf0e8",
    "interface": "\ufa52",
    "text": "\ue612",
    "enum": "\uf435",
    "enumMember": "\uf02b",
    "module": "\uf668",
    "color": "\ue22b",
    "property": "\ufab6",
    "field": "\uf93d",
    "unit": "\uf475",
    "file": "\uf471",
    "value": "\uf8a3",
    "event": "\ufacd",
    "folder": "\uf115",
    "keyword": "\uf893",
    "snippet": "\uf64d",
    "operator": "\uf915",
    "reference": "\uf87a",
    "typeParameter": "\uf278",
    "default": "\uf29c"
  }

I'm happy to perform more debugging/supply more information to help, but I'm not quite sure what to check next. Please let me know how I can help with this issue! Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions