scnvim icon indicating copy to clipboard operation
scnvim copied to clipboard

Update README.md: Note to mac users regarding startup file.

Open HotwheelsSisyphus opened this issue 3 months ago • 0 comments

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.)

HotwheelsSisyphus avatar Oct 09 '25 02:10 HotwheelsSisyphus