Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For Chinese character display issues, and font settings cannot be applied #1647

Open
bushnerd opened this issue Nov 7, 2024 · 1 comment

Comments

@bushnerd
Copy link

bushnerd commented Nov 7, 2024

  • OS Version:Windows 11
  • Browser Version: Chromium 118.0.5993.159
  • Browser Addon Version:0.2.16
  • Neovim Plugin Version:0.2.16

What I tried to do

vimrc:

if exists('g:started_by_firenvim') && g:started_by_firenvim
  " general config for firenvim
  let g:airline#extensions#tabline#enabled = 0
  let g:firenvim_config = {
      \ 'globalSettings': {
          \ 'alt': 'all',
      \  },
      \ 'localSettings': {
          \ '.*': {
              \ 'cmdline': 'neovim',
              \ 'priority': 0,
              \ 'selector': 'textarea',
              \ 'takeover': 'never',
          \ },
      \ }
  \ }

  function! s:setup_firenvim() abort
    set filetype=markdown
    set noruler noshowcmd
    " set laststatus=1
    set showtabline=0
    " 设置默认行数
    set lines=10
    set guifont=Cascadia\ Code:h12
    set guifontwide=微软雅黑:h12
  endfunction

  augroup firenvim
    autocmd!
    autocmd FileType text call s:setup_firenvim()
  augroup END
endif

What happened

The Chinese characters are not displayed completely, and setting the font with guifontwide has no effect.

image

@glacambre
Copy link
Owner

Hi, thanks for the report. Indeed, guifontwide hasn't been implemented yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants