Nimsuggest uses 100% CPU usage with Nim 2.2.0
### Description

Related issues:
- [nimlsp](https://github.com/PMunch/nimlsp/issues/180)
- [Nix Packages](https://github.com/NixOS/nixpkgs/issues/350913)

Ever since NixOS's package cache started compiling nimlsp (and by extension, nimsuggest) against Nim 2.2.0, I've been noticing abnormally high CPU usage coming from nimsuggest, which often requires me to kill the language server (nimlsp) and restart it.

For now, we're circumventing this by forcing nimlsp to compile against Nim 2.0, but this is more of a bandaid fix than anything (we needed to fix this regression before the NixOS 24.11 merge window closed).

Please let me know if you need to know any other information. I'm using NixOS Unstable (24.11 Vicuna) on an AMD CPU, if that matters.

### Nim Version

```
Nim Compiler Version 2.2.0 [Linux: amd64]
Compiled at 2024-10-02
Copyright (c) 2006-2024 by Andreas Rumpf

active boot switches: -d:release
```

### Current Output

_No response_

### Expected Output

_No response_

### Known Workarounds

Compiling nimlsp (and by extension, nimsuggest) against Nim 2.0

### Additional Information

_No response_