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 had copy pasted a cpp code snippet in my rust project (it was a huge array, containing font data), helix was way to slow to do anything after that. (The file size after saving it was ~170kb)
Motions were fine (in all modes), but each key press took 4-5sec to register in insert mode (including some actions like undo, redo, deleting selection, deleting char, etc...)
(Note: No LSP or any other features were active, just plain helix)
It's not as bad if the array was of the same language, same as the lang of the file containg it. But still, even if it's the same language, the editing is noticably and visibly slow compared to other mainstream editors (it's all good with them) if the file is large (slow not just on an array but code in general).
Culprit i think is the syntax highlighting (could be parsing more text than which is visible)...as changing to lang text solves the issue.
(EDIT: It's rust's highlight that is slow compared to others, go too, etc...C 's is much faster, but visibly slow still)
The text was updated successfully, but these errors were encountered:
I had copy pasted a cpp code snippet in my rust project (it was a huge array, containing font data), helix was way to slow to do anything after that. (The file size after saving it was ~170kb)
Motions were fine (in all modes), but each key press took 4-5sec to register in insert mode (including some actions like undo, redo, deleting selection, deleting char, etc...)
(Note: No LSP or any other features were active, just plain helix)
It's not as bad if the array was of the same language, same as the lang of the file containg it. But still, even if it's the same language, the editing is noticably and visibly slow compared to other mainstream editors (it's all good with them) if the file is large (slow not just on an array but code in general).
Culprit i think is the syntax highlighting (could be parsing more text than which is visible)...as changing to
lang text
solves the issue.(EDIT: It's
rust
's highlight that is slow compared to others,go
too, etc...C
's is much faster, but visibly slow still)The text was updated successfully, but these errors were encountered: