max397574 / startup.nvim

A highly configurable neovim startup screen
GNU General Public License v2.0
428 stars 34 forks source link

Multibyte characters break layout #54

Closed anekos closed 1 month ago

anekos commented 1 month ago

The following settings will break the layout as in the next image.

start_menu = {
  align = 'center',
  type = 'mapping',
  highlight = 'String',
  content = {
    { 'abc', 'quit', 'a' },
    { 'おはよう', 'quit', 'b' },
    { '123456789', 'quit', 'a' },
  },
},

chry-temp-20240808232113

This commit fixes this issue as shown in the following image.

chry-temp-20240808232221

max397574 commented 1 month ago

thank you