]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(doc): Add environment variable expansion note to options
authorAlex Plate <AlexPl292@gmail.com>
Sun, 23 Nov 2025 19:30:19 +0000 (19:30 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 23 Nov 2025 19:30:19 +0000 (19:30 +0000)
commit2190036c8cfb1e94625756b8ffbb3aa65f04687e
tree5df7603cc1068616efb9b168b84c44e26d1f6f5a
parentcf7c0038a4c999409264559c085a7c8d293cdf8a
runtime(doc): Add environment variable expansion note to options

Add "Environment variables are expanded |:set_env|" documentation to
options that have the P_EXPAND flag but were missing this note.

Updated options:
- 'cdpath'
- 'dictionary'
- 'mkspellmem'
- 'packpath'
- 'runtimepath'
- 'spellfile'
- 'spellsuggest'
- 'thesaurus'
- 'ttytype'
- 'undodir'
- 'verbosefile'
- 'viewdir'
- 'viminfofile'

These options support environment variable expansion in their values
(e.g., $HOME, $USER) but the documentation didn't explicitly mention
this capability. This brings their documentation in line with other
options like backupdir, directory, and makeprg that already include
this note.

closes: #18791

Signed-off-by: Alex Plate <AlexPl292@gmail.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/options.txt