zk-phi / indent-guide

Show vertical lines to guide indentation
373 stars 24 forks source link

work with git #46

Closed wangdiqi closed 8 years ago

wangdiqi commented 8 years ago

It seems that a git project file modified a lot, then move cursor might block some time in indent-guide-mode.

zk-phi commented 8 years ago

indent-guide just recognizes the indentation by scanning the current buffer and does not use git internally, so I hope it does not change the behavior even if the file is under a git project. If you are using Emacs >= 24.0, a built-in profiler is available to detect which function actually is consuming the CPU time, which will be helpful to inspect this issue further.