Skip to content

Support non-ASCII characters in account names? #53

Description

@lilydjwg

Hi there. I'm using Chinese in account names because a translation is not always readable and pinyin (a way to use ASCIIs when necessary) is not very readable either.

This plugin doesn't highlight such names and :AlignCommodity doesn't take this into account. Also note that Chinese characters are wider than ASCIIs.

I've replaced the regex to use \S and used strwidth to calculate and it seems to work for me, but I don't know if I missed anything.

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