Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,23 @@ if (\SCNvim.asClass.notNil) {
Server.program = (Platform.resourceDir +/+ "scsynth.exe").quote;
}
```
### Note to Mac users
sclang will set its `Platform.userConfigDir` to XDG_CONFIG_HOME (most likely `/Users/USERNAME/.config`) if it exists,
and only if it does not exist, the mac `/Users/USERNAME/Library/Application Support` directory will be used.
This means that the path to the startup and config files will likely be different in scnvim from that in the
regular superCollider IDE.

While the path to the config file can be specified via args to sclang, e.g.:
```lua
local scnvim = require('scnvim')
scnvim.setup({
sclang = {
cmd = "/Applications/SuperCollider.app/Contents/MacOS/sclang",
args = { "-l", "/Users/USERNAME/Library/Application Support/SuperCollider/sclang_conf.yaml" }
},
})
```
the same appears not to be possible for the startup file and sclang's `userConfigDir` in general.

## License

Expand Down
Loading