global bridge#

General utilities to bridge the gap between vimscript and lua


methods#


M.opt#


function M.opt(
  scope,
  key,
  value
) ->  nil

M.get_module#


function M.get_module(mod: string) -> result any

@param mod - The lua module name, inside runtimepath

@return result - The successful require result

Lua’s builtin prequire with default error message for missing packages

fields#


M.vfn#


M.vfn : any

alias to get vim paths