Skip to content

Commit

Permalink
nimsuggest: clean up nimsuggest.nim.cfg (#901)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
bung87 authored Sep 16, 2023
1 parent 89851f9 commit 0a90e7c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nimsuggest/nimsuggest.nim.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ gc:orc

hint[XDeclaredButNotUsed]:off

path:"$lib/packages/docutils"

define:useStdoutAsStdmsg
define:nimsuggest
define:nimcore
Expand All @@ -17,7 +15,5 @@ define:nimcore
define:"nimMaxHeap=4000"
@end

#define:booting
#define:noDocgen
--path:"$config/.."
--threads:on

0 comments on commit 0a90e7c

Please sign in to comment.