Skip to content

Speed up git log #1779

Closed Answered by CKolkey
arnold-c asked this question in Q&A
Jul 16, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Oh good find. Turns out that vim.hl.range() is substantially slower than vim.api.nvim_buf_add_highlight().

I've reverted the usage of the new API. Let me know if that helps :)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by arnold-c
Comment options

You must be logged in to vote
1 reply
@CKolkey
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants