- feat(findNvim): version parsing robustness
findNvim
supportsfirstMatch
parameter which callers can use to stop searching after the first valid Nvim is found. #370findNvim
now searches various common locations, in addition to$PATH
. That makes it more useful for GUIs where$PATH
is often different than the user's shell. #267findNvim
supports optionalpaths
anddirs
parameters.- Invalid RPC error now shows the contents of the invalid RPC message. #404
- fix(logger): console.assert() throws exception
- fix return type of
lua()
/executeLua()
- strengthen some error handling
- fix: SyntaxError: Unexpected token '?' in cli.js #373
- fix: console.log() writes to RPC channel #202 #329
- feat: eliminate
which
dependency - feat: improve logs + error messages
- fix: always use custom logger if one is given #336
- feat(logger): timestamp, pretty-print objects #337
5.0.1 (2024-03-01)
- Renamed
getNvimFromEnv
tofindNvim
- fix:
findNvim()
fails if path has spaces. #319
4.11.0 (2024-02-07)
getNvimFromEnv
provides a way to easily findnvim
on the user's system. (Currently depends on$PATH
#267)- Use
$NVIM
instead of deprecated$NVIM_LISTEN_ADDRESS
#195 - Update dependencies
- Minimum node.js version: 14.x