Skip to content

Conversation

@HotwheelsSisyphus
Copy link

Regarding sclangs Platform.userConfigDir and startup file.

contents should be self-explanatory...

This wasn't terribly obvious to me, because once you figure out that you can set a config file via argument to sclang, you can then use that to make sclang find all the extensions you use... That leaves only one component of the Platform.userConfigDir whose path can't be manually set: the startup file... and it seems it can't be set, or only after startup, which sort of defeats the purpose.

I had to do some sleuthing in sc's source (common/SC_Filesystem_macos.cpp) to figure this out, so I thought I might add a note here. It's technically not a scnvim issue but a sc one, but it might help some folks make the switch. And a doc change is quicker than messing with actual code.

(otoh, if there is actually some reasonably elegant way to set the config directory path for sclang, I'd certainly like to know about it... but again, that's a sc issue.)

regarding the Platform.userConfigDir and startup file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant