You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't find the issue in existing issues or PRs.
How to reproduce the problem
I have already solved this problem, I am just leaving this message for future generations. This problem is probably duplicated so I apologize in advance.
Steps:
Install some nvim LSP of your choice, for example in my case it is lua.
Open some file in which a problem is detected (according to the LSP), for example an incomplete syntax, or some warning about something ⚠
The problem is caused by using “weird” symbols/icons in the diagnostics section
For example:
lualine_x= {
{
get_active_lsp,
icon=" LSP:",
},
{
"diagnostics",
sources= { "nvim_diagnostic" },
-- This line is the one that causes problems:symbols= { error="🆇 ", warn="⚠️ ", info="ℹ️ ", hint=" " },
},
},
Solution:
-- Use other types of icons, e.g.symbols= { error="● ", warn="▲ ", info="■ ", hint="◆ " }
Expected behaviour
Basically that a color does not appear when I want to use “/” or “:”.
Actual behaviour
When you try to use the “/” or “:” keys inside nvim it will cause that extra little square to be generated in the command line and it will stay there until you change the file. It only appears once the LSP is fully loaded, it's like lualine doesn't update correctly when the LSP adds some diagnostic icon to the status line.
Self Checks
How to reproduce the problem
I have already solved this problem, I am just leaving this message for future generations. This problem is probably duplicated so I apologize in advance.
Steps:
The problem is caused by using “weird” symbols/icons in the diagnostics section
For example:
Solution:
Expected behaviour
Basically that a color does not appear when I want to use “/” or “:”.
Actual behaviour
When you try to use the “/” or “:” keys inside nvim it will cause that extra little square to be generated in the command line and it will stay there until you change the file. It only appears once the LSP is fully loaded, it's like lualine doesn't update correctly when the LSP adds some diagnostic icon to the status line.
Minimal config to reproduce the issue
Additional information
Maybe I am the only one who did not read the documentation.
The text was updated successfully, but these errors were encountered: