From dc8ff2ad406dd66cfd19f11b038506dc7705becd Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 16 Jul 2022 16:27:56 +0200 Subject: docs: updates (#83) --- doc/reference.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'doc/reference.md') 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** -- cgit v1.2.3-70-g09d2