AndreM222 / copilot-lualine

This is a component which makes a status icon for copilot.lua
MIT License
53 stars 3 forks source link

Icons should have a space after #3

Closed Susensio closed 8 months ago

Susensio commented 8 months ago

NerdFont default icons are wider than a character. This is usually fixed by appending a space afterwards. image

                    icons = {
                        enabled = "",
                        disabled = "",
                        warning = "",
                        unknown = ""
                    },

should be

                    icons = {
                        enabled = " ",
                        disabled = " ",
                        warning = " ",
                        unknown = " "
                    },

image

This avoids the icon being too close to its next element. I know this can be customized by user, but the default should be with space.