Reading the docs, it looks like if I create ~/.lispwords.lua and set no environment variables, then the plugin will load this file. But that's not what happens. In after/lisp.vim you give default values to $NVIM_LISPWORDS and $LISPWORDS if they're not set, so those take precedence in scmindent.lua. If using neovim, this means the only option for using a custom lispwords file is to set $NVIM_LISPWORDS, which isn't what the docs say.
Reading the docs, it looks like if I create
~/.lispwords.lua
and set no environment variables, then the plugin will load this file. But that's not what happens. Inafter/lisp.vim
you give default values to$NVIM_LISPWORDS
and$LISPWORDS
if they're not set, so those take precedence inscmindent.lua
. If using neovim, this means the only option for using a custom lispwords file is to set$NVIM_LISPWORDS
, which isn't what the docs say.I'd prefer the behavior in the docs.