SpaceVim / SpaceVim

A modular Vim/Neovim configuration
https://spacevim.org/
GNU General Public License v3.0
20.28k stars 1.42k forks source link

Chracters for airline not showing up correctly #2291

Closed mgoffin closed 5 years ago

mgoffin commented 5 years ago

After installing powerline and nerd-fonts, and ensuring iTerm is using the DejaVu powerline font, and making sure the spacevim config uses that, I am still seeing weird characters for airline. I also don't see stuff like git branch.

Expected behavior, english is required

I see the appropriate characters.

The reproduce ways from Vim starting (Required!)

Edit a file.

Debug info

Environment Information

On branch master
Your branch is up to date with 'origin/master'.

Output of the :SPDebugInfo!

SpaceVim options :

  auto_disable_touchpad = 1
  autocomplete_method = 'neocomplete'
  autocomplete_parens = 1
  background = 'dark'
  buffer_index_type = 4
  checkinstall = 1
  colorscheme = 'one'
  colorscheme_bg = 'dark'
  colorscheme_default = 'desert'
  custom_color_palette = []
  custom_plugins = []
  debug_level = 1
  default_indent = 2
  disabled_plugins = []
  enable_ale = 0
  enable_cursorcolumn = 0
  enable_cursorline = 1
  enable_debug = 0
  enable_googlesuggest = 0
  enable_guicolors = 1
  enable_insert_leader = 1
  enable_javacomplete2_py = 0
  enable_key_frequency = 0
  enable_language_specific_leader = 1
  enable_neocomplcache = 0
  enable_neomake = 1
  enable_os_fileformat_icon = 0
  enable_powerline_fonts = 1
  enable_statusline_display_mode = 1
  enable_statusline_mode = 0
  enable_tabline_filetype_icon = 1
  enable_vimfiler_filetypeicon = 0
  enable_vimfiler_gitstatus = 0
  enable_vimfiler_welcome = 1
  enable_ycm = 0
  error_symbol = '✖'
  expand_tab = 1
  filemanager = 'vimfiler'
  filetype_icons = {}
  force_global_config = 1
  gitcommit_issue_icon = ''
  gitcommit_pr_icon = ''
  github_username = ''
  guifont = ''
  hiddenfileinfo = 1
  hosts_url = 'https://raw.githubusercontent.com/racaljk/hosts/master/hosts'
  info_symbol = 'ⓘ'
  keep_server_alive = 1
  language = ''
  leader_guide_default_group_name = ''
  leader_guide_flatten = 1
  leader_guide_hspace = 5
  leader_guide_max_size = 0
  leader_guide_position = 'botright'
  leader_guide_run_map_on_popup = 1
  leader_guide_sort_horizontal = 0
  leader_guide_submode_mappings = {'<C-C>': 'win_close'}
  leader_guide_vertical = 0
  lint_on_save = 1
  lint_on_the_fly = 0
  max_column = 120
  plugin_bundle_dir = '/Users/mgoffin/.cache/vimfiles/'
  plugin_manager = 'dein'
  plugin_manager_processes = 16
  plugin_name = 'vim-hybrid'
  project_rooter_automatically = 1
  project_rooter_patterns = ['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/', '.SpaceVim.d/']
  realtime_leader_guide = 1
  relativenumber = 1
  search_tools = ['rg', 'ag', 'pt', 'ack', 'grep']
  sidebar_direction = ''
  sidebar_width = 30
  simple_mode = 0
  smartcloseignoreft = ['tagbar', 'vimfiler', 'SpaceVimRunner', 'SpaceVimREPL', 'SpaceVimQuickFix', 'HelpDescribe', 'VebuggerShell', 'VebuggerTerminal', 'SpaceVimTabsManager']
  smartcloseignorewin = ['__Tagbar__', 'vimfiler:default']
  snippet_engine = 'neosnippet'
  src_root = 'E:\sources\'
  statusline_inactive_separator = 'arrow'
  statusline_left_sections = ['winnr', 'filename', 'major mode', 'syntax checking', 'minor mode lighters']
  statusline_right_sections = ['fileformat', 'cursorpos', 'percentage']
  statusline_separator = 'arrow'
  statusline_unicode_symbols = 1
  terminal_cursor_shape = 2
  version = '1.0.0-dev'
  vim_help_language = 'en'
  vimcompatible = 0
  warning_symbol = '⚠'
  wildignore = '*/tmp/*,*.so,*.swp,*.zip,*.class,tags,*.jpg,*.ttf,*.TTF,*.png,*/target/*,.git,.svn,.hg,.DS_Store,*.svg'
  windows_index_type = 0
  windows_leader = 's'
  windows_smartclose = 'q'

SpaceVim layers :

[[layers]]
  name="autocomplete"
  spacevim_autocomplete_parens=0
  auto-completion-return-key-behavior='complete'
  auto-completion-tab-key-behavior='smart'
[[layers]]
  name="checkers"
  show_cursor_error=0
  enable_ale=0
  lint_on_the_fly=1
  enable_neomake=1
[[layers]]
  name="format"
[[layers]]
  name="edit"
[[layers]]
  name="ui"
[[layers]]
  name="core"
[[layers]]
  name="core#banner"
[[layers]]
  name="core#statusline"
[[layers]]
  name="core#tabline"
[[layers]]
  name="shell"
  default_position='top'
  default_height=30
[[layers]]
  name="lang#python"
[[layers]]
  name="denite"
[[layers]]
  name="colorscheme"
[[layers]]
  name="-l"

SpaceVim Health checking :

SpaceVim clipboard support check report: Checking +clipboard: SUCCEED! SpaceVim environment check report: Current progpath: vim(/usr/local/bin/vim) version: 801 OS: mac [shell, shellcmdflag, shellslash]: ['/bin/zsh', '-c', 0] SpaceVim lua support check report: Checking +lua: SUCCEED! SpaceVim python support check report: Checking +python3: SUCCEED! Checking +python: Failed : to support +python, Please install vim-gik, or build from sources.

SpaceVim runtime log :

[ SpaceVim ] : logger file  does not exists, only log for current process will be shown!
[ SpaceVim ] [10:52:53] [ Info ] Startup with no argv, current dir is used: ~/.SpaceVim
[ SpaceVim ] [10:52:53] [ Info ] find local conf: /Users/mgoffin/.SpaceVim/.SpaceVim.d/init.vim
[ SpaceVim ] [10:52:53] [ Info ] force loadding global config >>>
[ SpaceVim ] [10:52:53] [ Info ] Start to find root for: 
[ SpaceVim ] [10:52:53] [ Info ]         (.git/):/Users/mgoffin/.SpaceVim/.git/
[ SpaceVim ] [10:52:53] [ Info ]         (.SpaceVim.d/):/Users/mgoffin/.SpaceVim/.SpaceVim.d/
[ SpaceVim ] [10:52:53] [ Info ] change to root:/Users/mgoffin/.SpaceVim
[ SpaceVim ] [10:52:53] [ Info ] try to open SpaceVim welcome page
[ SpaceVim ] [10:52:53] [ Info ] change to root:/Users/mgoffin/.SpaceVim
[ SpaceVim ] [10:52:55] [ Info ] Start to find root for: 
[ SpaceVim ] [10:52:55] [ Info ]         (.git/):/Users/mgoffin/.SpaceVim/.git/
[ SpaceVim ] [10:52:55] [ Info ]         (.SpaceVim.d/):/Users/mgoffin/.SpaceVim/.SpaceVim.d/
[ SpaceVim ] [10:52:55] [ Info ] change to root:/Users/mgoffin/.SpaceVim
[ SpaceVim ] [10:52:58] [ Info ] Start to find root for: /Users/mgoffin/.SpaceVim.d/init.toml
[ SpaceVim ] [10:54:30] [ Info ] Start to find root for: /Users/mgoffin/.SpaceVim/SpaceVimLayers
[ SpaceVim ] [10:54:30] [ Info ]         (.git/):/Users/mgoffin/.SpaceVim/.git/
[ SpaceVim ] [10:54:30] [ Info ]         (.SpaceVim.d/):/Users/mgoffin/.SpaceVim/.SpaceVim.d/
[ SpaceVim ] [10:54:30] [ Info ] change to root:/Users/mgoffin/.SpaceVim
[ SpaceVim ] [10:55:15] [ Info ] Start to find root for: /Users/mgoffin/.SpaceVim.d/init.toml
[ SpaceVim ] [10:55:24] [ Info ] Start to find root for: /Users/mgoffin/.SpaceVim/SpaceVimLayers
[ SpaceVim ] [10:55:24] [ Info ]         (.git/):/Users/mgoffin/.SpaceVim/.git/
[ SpaceVim ] [10:55:24] [ Info ]         (.SpaceVim.d/):/Users/mgoffin/.SpaceVim/.SpaceVim.d/
[ SpaceVim ] [10:55:24] [ Info ] change to root:/Users/mgoffin/.SpaceVim
[ SpaceVim ] [10:55:36] [ Info ] Start to find root for: /Users/mgoffin/.SpaceVim.d/init.toml
[ SpaceVim ] [10:55:47] [ Info ] Start to find root for: /var/folders/_9/n2ntj5396bbbcpll_yd20kk80000gp/T/v68mFA3/2/issue_report.md

Screenshots

screen shot 2018-11-07 at 1 51 58 pm
wsdjeg commented 5 years ago

you should make sure ensuring iTerm is using the nerd fonts, nerd fonts included powerline fonts.

mgoffin commented 5 years ago

I noted in my issue that it is using one of the appropriate fonts.

wsdjeg commented 5 years ago

But the fonts you are using do not include the nerd icons.


wsdjeg@outlook.com

From: Mike Goffinmailto:notifications@github.com Date: 2018-12-23 20:30 To: SpaceVim/SpaceVimmailto:SpaceVim@noreply.github.com CC: Wang Shidongmailto:wsdjeg@outlook.com; State changemailto:state_change@noreply.github.com Subject: Re: [SpaceVim/SpaceVim] Chracters for airline not showing up correctly (#2291)

I noted in my issue that it is using one of the appropriate fonts.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/SpaceVim/SpaceVim/issues/2291#issuecomment-449633384, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMiJkgwdw7Awgi8-cMTlwa3bVQECbckAks5u73djgaJpZM4YTB2n.

mgoffin commented 5 years ago

It is the default font SpaceVim uses according to the documentation: https://spacevim.org/documentation/#font

What nerd font do you suggest using to make the symbols and git stuff work? Does the documentation need to be updated to reflect a font that actually works?

wsdjeg commented 5 years ago

Ok, I will update the documentation, sorry.


wsdjeg@outlook.com

From: Mike Goffinmailto:notifications@github.com Date: 2018-12-23 20:46 To: SpaceVim/SpaceVimmailto:SpaceVim@noreply.github.com CC: Wang Shidongmailto:wsdjeg@outlook.com; State changemailto:state_change@noreply.github.com Subject: Re: [SpaceVim/SpaceVim] Chracters for airline not showing up correctly (#2291)

It is the default font SpaceVim uses according to the documentation: https://spacevim.org/documentation/#font

What nerd font do you suggest using to make the symbols and git stuff work? Does the documentation need to be updated to reflect a font that actually works?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/SpaceVim/SpaceVim/issues/2291#issuecomment-449634209, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMiJkjboIbUxIn3-9WZz-_JdsMXoyrfqks5u73sbgaJpZM4YTB2n.