Document the ability to comment out lines in the DCD config file

This commit is contained in:
Hackerpilot 2015-08-03 16:40:06 -07:00
parent 2f1055679a
commit 0be0a20311
1 changed files with 2 additions and 1 deletions

View File

@ -190,7 +190,8 @@ now it must be started manually or by an editor plugin.
## Configuration Files ## Configuration Files
The server will attempt to read the file ```~/.config/dcd``` on Posix systems, or ```dcd.conf``` on Windows in the current working directory on startup. The server will attempt to read the file ```~/.config/dcd``` on Posix systems, or ```dcd.conf``` on Windows in the current working directory on startup.
If it exists, each line of the file is interpreted as a path that should be If it exists, each line of the file is interpreted as a path that should be
searched when looking for module imports. searched when looking for module imports. Lines that start with the "#" character
are ignored.
Keep in mind that DCD treats import paths the same way that the compiler does. Keep in mind that DCD treats import paths the same way that the compiler does.
For example, a configuration file like this will not work as expected: For example, a configuration file like this will not work as expected: