vimscript introspection / meta structure #19918
Labels
api
libnvim, Nvim RPC API
architecture
documentation
enhancement
feature request
lua
stdlib
vimscript
Problem
Where should "core introspection" stuff live? Currently we have introspection interfaces in these places:
context.c
nvim_get_api
,nvim_get_commands
, nvim_get_functionssrc/nvim/eval.lua
(internal)Proposal
context.c
(nvim_get_context
) is for mutable state that can be saved and restored.nvim_get_api
is for C/RPC API only.nvim_get_commands
_meta/options.lua
provides annotations for options. PR #24528_meta/vimfn.lua
provides annotations for builtin Vimscript functions. PR #24493_meta/vimcmd.lua
provides annotations for builtin Ex commands. #26903 PR #27111_meta/vimnormal.lua
provides annotations for builtin Normal commands. #8029 #18750TODO
runtime/doc/api.mpack
and relatedruntime/doc/*.mpack
files that we already ship!_meta/vimfn.lua
.The text was updated successfully, but these errors were encountered: