mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: Fix pathshorten() example (#7571)
This commit is contained in:
parent
f8d40e7d53
commit
59b0d9f62d
@ -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()*
|
||||
|
Loading…
Reference in New Issue
Block a user