aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-07-11 08:33:29 -0400
committerJustin M. Keyes <justinkz@gmail.com>2025-07-28 22:00:25 -0400
commit56a4ef3c213d87bfba5f361376bd23eefdf6c6ec (patch)
treee300471cee1caaf3b86b4f38727ed95801b7c124 /runtime/lua/vim/_meta/vimfn.lua
parentdc67ba948eec0a5628eff0b15ce87a7d27f58bb3 (diff)
downloadrneovim-56a4ef3c213d87bfba5f361376bd23eefdf6c6ec.tar.gz
rneovim-56a4ef3c213d87bfba5f361376bd23eefdf6c6ec.tar.bz2
rneovim-56a4ef3c213d87bfba5f361376bd23eefdf6c6ec.zip
docs: lsp, ui events, dev guidance, osc7
fix #34981
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua40
1 files changed, 20 insertions, 20 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 1674a52289..0c6d806a36 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -1855,35 +1855,35 @@ function vim.fn.exp(expr) end
--- done like for the |cmdline-special| variables with their
--- associated modifiers. Here is a short overview:
---
---- % current file name
---- # alternate file name
---- #n alternate file name n
---- <cfile> file name under the cursor
---- <afile> autocmd file name
---- <abuf> autocmd buffer number (as a String!)
---- <amatch> autocmd matched name
+--- % Current file name
+--- # Alternate file name
+--- #n Alternate file name n
+--- <cfile> File name under the cursor
+--- <afile> Autocmd file name
+--- <abuf> Autocmd buffer number (as a String!)
+--- <amatch> Autocmd matched name
--- <cexpr> C expression under the cursor
---- <sfile> deprecated, use <script> or <stack>
---- <slnum> sourced script line number or function
+--- <sfile> Deprecated, use <script> or <stack>
+--- <slnum> Sourced script line number or function
--- line number
---- <sflnum> script file line number, also when in
+--- <sflnum> Script file line number, also when in
--- a function
--- <SID> "<SNR>123_" where "123" is the
--- current script ID |<SID>|
---- <script> sourced script file, or script file
+--- <script> Sourced script file, or script file
--- where the current function was defined.
---- Use |debug.getinfo()| in Lua scripts.
---- <stack> call stack
---- <cword> word under the cursor
+--- For Lua see |lua-script-location|.
+--- <stack> Call stack
+--- <cword> Word under the cursor
--- <cWORD> WORD under the cursor
---- <client> the {clientid} of the last received
+--- <client> The {clientid} of the last received
--- message
--- Modifiers:
---- :p expand to full path
---- :h head (last path component removed)
---- :t tail (last path component only)
---- :r root (one extension removed)
---- :e extension only
+--- :p Expand to full path
+--- :h Head (last path component removed)
+--- :t Tail (last path component only)
+--- :r Root (one extension removed)
+--- :e Extension only
---
--- Example: >vim
--- let &tags = expand("%:p:h") .. "/tags"