Merge pull request #14343 from jamessan/doc-fix

fix(doc): Add '/site' to stdpath('data') example in `:help 'rtp'`
This commit is contained in:
James McCoy 2021-04-11 20:07:11 -04:00 committed by GitHub
commit 9b77a2bf60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4818,7 +4818,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|xdg| ($XDG_CONFIG_DIRS, defaults to /etc/xdg). This also contains |xdg| ($XDG_CONFIG_DIRS, defaults to /etc/xdg). This also contains
preferences from system administrator. preferences from system administrator.
3. Data home directory, for plugins installed by user. 3. Data home directory, for plugins installed by user.
Given by `stdpath("data")`. |$XDG_DATA_HOME| Given by `stdpath("data")/site`. |$XDG_DATA_HOME|
4. nvim/site subdirectories for each directory in $XDG_DATA_DIRS. 4. nvim/site subdirectories for each directory in $XDG_DATA_DIRS.
This is for plugins which were installed by system administrator, This is for plugins which were installed by system administrator,
but are not part of the Nvim distribution. XDG_DATA_DIRS defaults but are not part of the Nvim distribution. XDG_DATA_DIRS defaults