Using git bisect, I've found that diff-hl has made editing C source files in Doom Emacs much slower since f202e46.
Note that doomemacs/modules@3fe5ff6 bumped diff-hl from 902d082 to 2f1623d. f202e46 is ahead of 2f1623d by 3 commits.
When I try writing the following C code by hand in Doom Emacs, the input lag is quite noticeable.
int main(void)
{
int a = 10;
int b[] = {1, 2, 3};
int c[] = {4, 5, 6, 7};
int d[] = {8, 9, 10, 11, 12};
double e[] = {1.2, 3.4, 5.6};
return 0;
}
I fixed the issue by adding the following line to the end of my packages.el file, which is located in the ~/.config/doom directory.
(package! diff-hl :pin "f8ffd7782623f7e102cf39e66e30b2abaf74d91c")
f8ffd77 is the commit right before f202e46.
Using
git bisect, I've found thatdiff-hlhas made editing C source files in Doom Emacs much slower since f202e46.3fe5ff6doomemacs/modules#65Note that doomemacs/modules@3fe5ff6 bumped
diff-hlfrom 902d082 to 2f1623d. f202e46 is ahead of 2f1623d by 3 commits.When I try writing the following C code by hand in Doom Emacs, the input lag is quite noticeable.
I fixed the issue by adding the following line to the end of my
packages.elfile, which is located in the~/.config/doomdirectory.f8ffd77 is the commit right before f202e46.