ds26gte / neoscmindent

12 stars 2 forks source link

Documentation on lispwords.lua is misleading #3

Open beelzebielsk opened 2 years ago

beelzebielsk commented 2 years ago

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.

I'd prefer the behavior in the docs.

ds26gte commented 2 years ago

Fix pushed in 42e7f8d