diff --git a/runtime/lua/vim/_meta.lua b/runtime/lua/vim/_meta.lua new file mode 100644 index 0000000000..839830294e --- /dev/null +++ b/runtime/lua/vim/_meta.lua @@ -0,0 +1,26 @@ +--- @meta + +--- The following modules are loaded specially in _init_packages.lua + +vim.F = require('vim.F') +vim._watch = require('vim._watch') +vim.diagnostic = require('vim.diagnostic') +vim.filetype = require('vim.filetype') +vim.fs = require('vim.fs') +vim.health = require('vim.health') +vim.highlight = require('vim.highlight') +vim.iter = require('vim.iter') +vim.keymap = require('vim.keymap') +vim.loader = require('vim.loader') +vim.lsp = require('vim.lsp') +vim.re = require('vim.re') +vim.secure = require('vim.secure') +vim.ui = require('vim.ui') +vim.version = require('vim.version') + +local uri = require('vim.uri') + +vim.uri_from_fname = uri.uri_from_fname +vim.uri_from_bufnr = uri.uri_from_bufnr +vim.uri_to_fname = uri.uri_to_fname +vim.uri_to_bufnr = uri.uri_to_bufnr