Skip to content

Unable to set guifont as normal #69

@shanoaice

Description

@shanoaice
  • eovim --version:
Version: 0.2.0.99-3282ed1

Build Type: Release

Compiled with EFL 1.25.1
Compiled with msgpack 3.3.0
Linked with EFL 1.25.1
Linked with msgpack 3.3.0

Neovim (program: 'nvim') version:

NVIM v0.6.0-dev+91-gd628e4250
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: /usr/bin/cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/build/neovim-git/src/build/config -I/build/neovim-git/src/neovim-git/src -I/usr/include -I/build/neovim-git/src/build/src/nvim/auto -I/build/neovim-git/src/build/include
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Starting eovim within the terminal will give a lot of error:

ERR<15654>:eovim /home/shanoa/build/aur/eovim-git/src/eovim-git/src/event/option_set.c:89 _guifont_set() invalid guifont='FiraCode Nerd Font:h12'. Expected: Fontname-Fontsize[:extra]'
ERR<15654>:eovim /home/shanoa/build/aur/eovim-git/src/eovim-git/src/event/option_set.c:242 nvim_event_option_set() Failed to process option with keyword 'guifont'
ERR<15654>:eovim /home/shanoa/build/aur/eovim-git/src/eovim-git/src/nvim_helper.c:82 parse_theme_config_animation_style() Invalid parameter for cursor duration. Using linear as a default.
CRI<15654>:eovim /home/shanoa/build/aur/eovim-git/src/eovim-git/src/nvim_event.c:152 nvim_event_tabline_update() Invalid argument count. (4 == 2) is false

And the most important problem is the one with _guifont_set(). This worked very well in other Neovim GUIs, and I'm sure I've installed Fira Code Nerd Font on my computer. Manually running 'set guifont=' in the command line won't work either.

Also, the external tabline seemed not to work too, as it will produce a cascade of error and extend the whole window to an awkward length.

If I try to run eovim from the DE's startup menu, it will give this error and exit immediately:
image
Disabling the external tabline feature won't work either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions