nvim_runtime_lua

vim.trust.opts

@inlinedoc

Fields3

opts.action : "allow" | "deny" | "remove"

One of:

  • 'allow' to add a file to the trust database and trust it,
  • 'deny' to add a file to the trust database and deny it,
  • 'remove' to remove file from the trust database
opts.path : nil | string

Path to a file to update. Mutually exclusive with {bufnr}.

opts.bufnr : nil | integer

Buffer number to update. Mutually exclusive with {path}.