diff options
author | euclidianAce <euclidianAce@protonmail.com> | 2022-11-09 17:26:02 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-09 23:26:02 +0000 |
commit | 0faf007a236c9b51f151790f79ee59366b501c55 (patch) | |
tree | 369d795ddee879f5add70f7a2a67e049f6c30b33 /runtime/lua/vim/treesitter.lua | |
parent | ef1d291f29961ae10cc122e92fb2419cbbd29f3b (diff) | |
download | rneovim-0faf007a236c9b51f151790f79ee59366b501c55.tar.gz rneovim-0faf007a236c9b51f151790f79ee59366b501c55.tar.bz2 rneovim-0faf007a236c9b51f151790f79ee59366b501c55.zip |
fix(man.lua): use `env` command (#21007)
Previously man.lua would use the `env` field in the parameters of
`vim.loop.spawn` to override things like MANPAGER. This caused issues on
NixOS since `spawn` will _override_ the environment rather than _append_
to it (and NixOS relies on a heavily modified environment). Using the
`env` command to append to the environment solves this issue.
Diffstat (limited to 'runtime/lua/vim/treesitter.lua')
0 files changed, 0 insertions, 0 deletions