You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's important to allow a user to specify an instance of fennel to use, but there are a few approaches that only differ by available and default behaviors.
Should configurable fennel version/instance:
Default to using the first instance found on the lua package path, with config options included for the user to have it use the included fennel instance or a path to have it use the specified version?
Default to the included fennel instance with an override option for a custom version and a "use package.path" option?
Not include a fennel instance at all, and require it to either be specified or already be on package.path?
I am leaning towards option 1 or 2, but would welcome feedback. Thanks!
The text was updated successfully, but these errors were encountered:
Seems to me it would probably be easiest to default to whatever is found on the package path, but use dofile('user-provided-path-to-fennel') for a user provided path. A user could mess with package.path in the nvim/init.vim file if they needed to mess with the package paths, I think.
That makes sense; no need to add extra config that just wraps package.path manipulation when I could just document the necessary change to package.path. And it could fallback to the include fennel version just by sticking its location to the end of package.path.
It's important to allow a user to specify an instance of fennel to use, but there are a few approaches that only differ by available and default behaviors.
Should configurable fennel version/instance:
included
for the user to have it use the included fennel instance or a path to have it use the specified version?I am leaning towards option 1 or 2, but would welcome feedback. Thanks!
The text was updated successfully, but these errors were encountered: