Skip to content

Commit c5353e0

Browse files
committed
Rephrase serverEnvironment description
1 parent b78812f commit c5353e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,16 @@ See #387 for more details.
5959

6060
### Set additional environment variables for the server
6161

62-
You can add additional environment variables for only the lsp server using the configuration option `haskell.serverEnvironment`. For example, to change the cache directory used by the server you could set:
62+
You can add additional environment variables for the lsp server using the configuration option `haskell.serverEnvironment`. For example, to change the cache directory used by the server you could set:
6363

6464
```json
65-
{ "XDG_CACHE_HOME": "/path/to/my/cache" }
65+
{ "haskell.serverEnvironment": { "XDG_CACHE_HOME": "/path/to/my/cache" } }
6666
```
6767

6868
as the server uses the XDG specification for cache directories.
6969

70+
The environment _only will be visible for the lsp server_, not for other extension tasks like find the server executable.
71+
7072
### Downloaded binaries
7173

7274
This extension will download `haskell-language-server` binaries to a specific location depending on your system.

0 commit comments

Comments
 (0)