neovim/test/functional/options
Ghjuvan Lacambre d34c64e342
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
2023-02-16 04:15:02 -08:00
..
autochdir_spec.lua test: simplify platform detection (#21020) 2022-11-22 08:13:30 +08:00
chars_spec.lua fix(options): using :set fillchars should clear local value 2021-11-17 07:11:46 +08:00
cursorbind_spec.lua docs: fix typos (#18269) 2022-06-04 11:56:36 +08:00
defaults_spec.lua feat: $NVIM_APPNAME #22128 2023-02-16 04:15:02 -08:00
keymap_spec.lua docs: fix typos (#20394) 2022-09-30 09:53:52 +02:00
mousescroll_spec.lua fix(mouse): ensure no scrolling with "ver:0" in 'mousescroll' (#20861) 2022-10-30 07:10:39 +08:00
num_options_spec.lua feat: cmdheight=0 #16251 2022-06-13 02:40:51 -07:00
pastetoggle_spec.lua vim-patch:8.2.4837: modifiers not simplified when timed out 2022-04-29 15:51:04 +08:00
shortmess_spec.lua vim-patch:8.2.0966: 'shortmess' flag "n" not used in two places 2020-06-18 18:01:43 -04:00
tabstop_spec.lua refactor(tests): use assert_alive() #15546 2021-09-01 09:42:53 -07:00