aboutsummaryrefslogtreecommitdiffstats
path: root/doc/reference.md
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-07-16 16:27:56 +0200
committerGitHub <noreply@github.com>2022-07-16 14:27:56 +0000
commitdc8ff2ad406dd66cfd19f11b038506dc7705becd (patch)
treef913d4c9452a491ef6124e6c99dd3113b2b01f7c /doc/reference.md
parentfix(scripts): prepend rtp and packpath (#82) (diff)
downloadmason-dc8ff2ad406dd66cfd19f11b038506dc7705becd.tar
mason-dc8ff2ad406dd66cfd19f11b038506dc7705becd.tar.gz
mason-dc8ff2ad406dd66cfd19f11b038506dc7705becd.tar.bz2
mason-dc8ff2ad406dd66cfd19f11b038506dc7705becd.tar.lz
mason-dc8ff2ad406dd66cfd19f11b038506dc7705becd.tar.xz
mason-dc8ff2ad406dd66cfd19f11b038506dc7705becd.tar.zst
mason-dc8ff2ad406dd66cfd19f11b038506dc7705becd.zip
docs: updates (#83)
Diffstat (limited to 'doc/reference.md')
-rw-r--r--doc/reference.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/reference.md b/doc/reference.md
index d1349ab7..8caa4134 100644
--- a/doc/reference.md
+++ b/doc/reference.md
@@ -1,5 +1,11 @@
# Mason API reference
+This document contains the API reference for `mason.nvim`'s' public APIs.
+The intended audience of this document are plugin developers and people who want to further customize their own Neovim
+configuration.
+
+Note that APIs not listed in this document are not considered public, and are subject to unannounced, breaking, changes.
+
- [Architecture diagram](#architecture-diagram)
- [`PackageSpec`](#packagespec)
- [`Package`](#package)
@@ -30,10 +36,6 @@
- [`EventEmitter:once({event, handler})`](#eventemitteronceevent-handler)
- [`EventEmitter:off({event}, {handler})`](#eventemitteroffevent-handler)
-This document contains the API reference for `mason.nvim`'s' public APIs.
-The intended audience of this document are plugin developers and people who want to further customize their own Neovim
-configuration.
-
## Architecture diagram
![architecture](https://user-images.githubusercontent.com/6705160/179120955-2f093b80-4a4e-4201-8c7a-26adfa508cdf.png)
@@ -54,6 +56,8 @@ configuration.
## `Package`
+Module: [`"mason-core.package"`](../lua/mason-core/package/init.lua)
+
The `Package` class encapsulates the installation instructions and metadata about a Mason package.
**Events**