diff options
author | Don-Duong Quach <donquach@fastmail.fm> | 2021-02-01 04:17:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 13:17:19 +0100 |
commit | 206ad43cdcd8fddff9fbcdc51937632944c5119a (patch) | |
tree | 85bfe6c940f6ecd1e8d0776e6278e994c6829ed6 /doc | |
parent | 0b01eddace6a5a83e3f8e21fc6aafe7e608afa96 (diff) | |
download | Nim-206ad43cdcd8fddff9fbcdc51937632944c5119a.tar.gz |
Updated nimsuggest doc to explain connection to nim compiler and use of config files (#16869)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/nimsuggest.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/nimsuggest.rst b/doc/nimsuggest.rst index a5d0d65b9..8db7c233b 100644 --- a/doc/nimsuggest.rst +++ b/doc/nimsuggest.rst @@ -44,6 +44,11 @@ for testing things out and playing with it but for an editor communication via sockets is more reasonable so that is the default. It listens to port 6000 by default. +Nimsuggest is basically a frontend for the nim compiler so ``--path`` flags and +`config files <https://nim-lang.org/docs/nimc.html#compiler-usage-configuration-files>`_ +can be used to specify additional dependencies like +``nimsuggest --stdin --debug --path:"dependencies" myproject.nim``. + Specifying the location of the query ------------------------------------ |