diff options
| author | anondeveg <anondeveg@gmail.com> | 2026-03-12 10:40:07 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-12 04:40:07 -0400 |
| commit | 32aee065a898aa125e5ae87dcce513606112398d (patch) | |
| tree | 526eba609423299d46ce0327de16543147aa0a8b /runtime/lua/vim/provider/python.lua | |
| parent | f847aa62088153c5ea7ddcd1259c631d49146f6a (diff) | |
| download | rneovim-32aee065a898aa125e5ae87dcce513606112398d.tar.gz rneovim-32aee065a898aa125e5ae87dcce513606112398d.tar.bz2 rneovim-32aee065a898aa125e5ae87dcce513606112398d.zip | |
feat(startup): warn if NVIM_LOG_FILE is inaccessible #38070
Problem:
If NVIM_LOG_FILE, or the default fallback, is inaccessible (e.g.
directory is owned by root), users get confused.
Solution:
Show a warning when $NVIM_LOG_FILE or $XDG_STATE_HOME are inaccessible.
Also fix a latent memory leak: `os_mkdir_recurse` returns a uv error
code (int), but it was stored as `bool`, causing `os_strerror` to
receive an invalid error code and leak memory.
See: https://docs.libuv.org/en/v1.x/errors.html#c.uv_strerror
Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions