-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nimsuggest: move library code into
suggest
(#892)
<!--- The Pull Request (=PR) message is what will get automatically used as the commit message when the PR is merged. Make sure that no line is longer than 72 characters --> ## Summary Extract procedures that do not rely on the command-line from the `nimsuggest` module to the `suggest` module. ## Details Changes: - procedure `findNode` was moved and renamed to `findTrackedNode` - procedure `symFromInfo` was moved and renamed to `findTrackedSym` - the ide command execution part of `executeNoHooks` was extracted and moved into `executeCmd` This makes the `suggest` module more of a reusable component for other non-`nimsuggest` tools, e.g. the LSP server. --------- Co-authored-by: Saem Ghani <[email protected]>
- Loading branch information
Showing
2 changed files
with
52 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters