diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-09-30 08:26:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-30 08:26:40 +0800 |
| commit | af2932e2dca375d5c564b6aaac4047aa5422fc9e (patch) | |
| tree | a92512616a55c0d5f41b65678b277ad349f86906 /runtime/lua/vim/_meta/vimfn.lua | |
| parent | e7a03dd4e8792d49c4c34fcc8a5bd981a0310208 (diff) | |
| download | rneovim-af2932e2dca375d5c564b6aaac4047aa5422fc9e.tar.gz rneovim-af2932e2dca375d5c564b6aaac4047aa5422fc9e.tar.bz2 rneovim-af2932e2dca375d5c564b6aaac4047aa5422fc9e.zip | |
vim-patch:992e307: runtime(doc): update list of modifiers at :h expand() (#35957)
fixes: vim/vim#18435
https://github.com/vim/vim/commit/992e30774f5ec81f53d5554c42137d3c85999081
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 436da3ae3f..4302c3d689 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -1893,6 +1893,9 @@ function vim.fn.exp(expr) end --- :r Root (one extension removed) --- :e Extension only --- +--- More modifiers are supported, for the full list see +--- |filename-modifiers|. +--- --- Example: >vim --- let &tags = expand("%:p:h") .. "/tags" --- <Note that when expanding a string that starts with '%', '#' or |