Gruntfuggly / todo-tree

Use ripgrep to find TODO tags and display the results in a tree view
Other
1.42k stars 137 forks source link

ripgrep eats whole memory for circular symlinks #588

Closed karnigen closed 2 years ago

karnigen commented 2 years ago

I cannot avoid circular symlinks in directory structure, and when I open code in such directory, todo-tree very quickly eats whole memory. I cannot find how to disable follow symlinks when todo-tree invoke ripgrep, seems it requires --no-follow argument or it is problem with repgrep that it cannot detect loops in directory structure. Any suggestion?

Gruntfuggly commented 2 years ago

You can pass extra arguments to ripgrep using todo-tree.ripgrep.ripgrepArgs.

Gruntfuggly commented 2 years ago

Hi - Did you get this working? I'm going to close this as there has been no update, and I need to keep the issues list manageable as this is a "spare time" project. If my suggestion didn't work, please feel free to re-open.