tidalcycles / vim-tidal

Vim plugin for TidalCycles
MIT License
222 stars 56 forks source link

Allow for customising the Tidal GHCI boot file with `g:tidal_boot` #77

Closed mitchmindtree closed 1 year ago

mitchmindtree commented 1 year ago

This allows a user to specify the target Tidal GHCI boot file via the g:tidal_boot or g:tidal_boot_fallback variables. Please see the new "Tidal Boot File" subsection under the "Configure" section within the README for details on the new behaviour.

In the case that a user does not specify either of these variables and does not use any custom, local boot file within their projects, the default behaviour remains unchanged and the Tidal.ghci file provided with this plugin will be used.

This is originally motivated by tidalcycles.nix, as the new variables can be used to specify the BootTidal.hs file provided by the tidal library itself within the /nix/store as the default tidal boot file, rather than using the one provided by vim-tidal which can often lag behind.