From 0a90e7c456d4ff5cdb6e78c3bb3b2298480e3f84 Mon Sep 17 00:00:00 2001 From: Bung Date: Sun, 17 Sep 2023 01:18:41 +0800 Subject: [PATCH] nimsuggest: clean up `nimsuggest.nim.cfg` (#901) ## Summary Remove obsolete and disabled configuration options from the `nimsuggest.nim.cfg` configuration file. ## Details * remove adding `lib/packages/docutils` to the import paths; imports in the compiler and tools should not (and do not) rely on extra import paths besides the compiler root and library directory * remove the outdated and disabled defines for the `booting` and `noDocgen` symbols The `useStdoutAsStdmsg` define, while also obsolete, is kept for consistency with the compiler and `nimfix`, both which also define this conditional symbol. --- nimsuggest/nimsuggest.nim.cfg | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nimsuggest/nimsuggest.nim.cfg b/nimsuggest/nimsuggest.nim.cfg index cc9b08135a2..e1173606d21 100644 --- a/nimsuggest/nimsuggest.nim.cfg +++ b/nimsuggest/nimsuggest.nim.cfg @@ -4,8 +4,6 @@ gc:orc hint[XDeclaredButNotUsed]:off -path:"$lib/packages/docutils" - define:useStdoutAsStdmsg define:nimsuggest define:nimcore @@ -17,7 +15,5 @@ define:nimcore define:"nimMaxHeap=4000" @end -#define:booting -#define:noDocgen --path:"$config/.." --threads:on