Closed yungthai closed 8 months ago
This plugin already escapes the %
character.
However, it's the adjacent character after the %
(e.g. a space, quotation mark "
or '
, etc...) that causes the lualine E539 error.
Thus it's more suitable to further manipulate the commit message string within the user's lualine configuration.
Apology for the added noise.
Apology for the added noise.
Hey! No problem! Maybe this will help someone who stumbles upon something similar sometime in the future :)
When showing a commit message on the lualine winbar or statusline:
It appears when navigating to any committed change that has a
%
character in its commit message, lualine will throw a E539: Illegal character error.Steps to reproduce:
%
character e.g. "Fix % change calculation"This plugin may need "to escape
%
in it's output as they have special meaning in statusline".