aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorSanzhar Kuandyk <92693103+SanzharKuandyk@users.noreply.github.com>2026-02-25 13:38:08 +0500
committerGitHub <noreply@github.com>2026-02-25 03:38:08 -0500
commitcf874cee330db7996e879891b7be0ffa3bd6a535 (patch)
tree3f9202011c14c7292f6a44d1bf265738786be335 /runtime/lua/vim/provider/python.lua
parent6d73bf48861c13d190f3085eb54380fa76cb1a11 (diff)
downloadrneovim-cf874cee330db7996e879891b7be0ffa3bd6a535.tar.gz
rneovim-cf874cee330db7996e879891b7be0ffa3bd6a535.tar.bz2
rneovim-cf874cee330db7996e879891b7be0ffa3bd6a535.zip
feat(startup): provide v:argf for file arguments #35889
Problem: - `:args` and `argv()` can change after startup. - `v:arg` includes options/commands, not just files. - Plugins (e.g. Oil) may rewrite directory args. Solution: - New read-only var `v:argf`: snapshot of file/dir args at startup. - Unaffected by `:args` or plugins. - Unlike `v:argv`, excludes options/commands. - Paths are resolved to absolute paths when possible Example: nvim file1.txt dir1 file2.txt :echo v:argf " ['/home/user/project/file1.txt', '/home/user/project/dir1', '/home/user/project/file2.txt']
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions