From the docs:
Create a file called nvim.hs in $XDG_CONFIG_HOME/nvim (usually ~/.config/nvim with the following content:
$XDG_CONFIG_HOME does not necessarily exist on OS X. What's the right place to put nvim.hs on Mac? How can we customize the location of this file?