doc: Fix pathshorten() example (#7571)

This commit is contained in:
Drew Neil 2017-11-16 22:41:16 +00:00 committed by Justin M. Keyes
parent f8d40e7d53
commit 59b0d9f62d

View File

@ -5811,7 +5811,7 @@ pathshorten({expr}) *pathshorten()*
components in the path are reduced to single letters. Leading
'~' and '.' characters are kept. Example: >
:echo pathshorten('~/.config/nvim/autoload/file1.vim')
< ~/.v/a/file1.vim ~
< ~/.c/n/a/file1.vim ~
It doesn't matter if the path exists or not.
pow({x}, {y}) *pow()*