Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 570 Bytes

Open.md

File metadata and controls

26 lines (24 loc) · 570 Bytes
title Open
tags
editor
navigation

Options

---@class obsidian.config.OpenOpts
---
---Opens the file with current line number
---@field use_advanced_uri? boolean
---
---Function to do the opening, default to vim.ui.open
---@field func? fun(uri: string)
---
---URI scheme whitelist, new values are appended to this list, and URIs with schemes in this list, will not be prompted to confirm opening
---@field schemes? string[]
open = {
  use_advanced_uri = false,
  func = vim.ui.open,
  schemes = { "https", "http", "file", "mailto" },
}