diff options
author | Ghjuvan Lacambre <code@lacamb.re> | 2023-02-16 13:15:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 04:15:02 -0800 |
commit | d34c64e342dfba9248d1055e702d02620a1b31a8 (patch) | |
tree | a685ef816f1621092ec82ea17d22fbd3a8c03957 /scripts/lintcommit.lua | |
parent | 631775c05d257e5e61af31d20d9fd5be2dba82c2 (diff) | |
download | rneovim-d34c64e342dfba9248d1055e702d02620a1b31a8.tar.gz rneovim-d34c64e342dfba9248d1055e702d02620a1b31a8.tar.bz2 rneovim-d34c64e342dfba9248d1055e702d02620a1b31a8.zip |
feat: $NVIM_APPNAME #22128
This commit implements the ability to control all of the XDG paths
Neovim should use. This is done by setting an environment variable named
NVIM_APPNAME. For example, setting $NVIM_APPNAME makes Neovim look for
its configuration directory in $XDG_CONFIG_HOME/$NVIM_APPNAME instead of
$XDG_CONFIG_HOME/nvim.
If NVIM_APPNAME is not set or is an empty string, "nvim" will be used as
default.
The usecase for this feature is to enable an easy way to switch from
configuration to configuration. One might argue that the various $XDG
environment variables can already be used for this usecase. However,
setting $XDG environment variables also affects tools spawned by Neovim.
For example, while setting $XDG_CONFIG_HOME will enable Neovim to use a
different configuration directory, it will also prevent Git from finding
its "default" configuration.
Closes https://github.com/neovim/neovim/issues/21691
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions