docs: install deps

This commit is contained in:
Smirnov Oleksandr 2024-03-30 14:48:20 +02:00
parent 801913fe06
commit e601ce75ab
2 changed files with 15 additions and 0 deletions

View file

@ -22,7 +22,14 @@ local gopher = {}
---
---@usage `require("gopher").setup {}` (replace `{}` with your `config` table)
gopher.setup = require("gopher.config").setup
---@toc_entry Install dependencies
---@tag gopher.nvim-install-deps
---@text Gopher.nvim implements most of its features using third-party tools.
--- To install these tools, you can run `:GoInstallDeps` command
--- or call `require("gopher").install_deps()` if you want ues lua api.
gopher.install_deps = require("gopher.installer").install_deps
gopher.impl = require("gopher.impl").impl
gopher.iferr = require("gopher.iferr").iferr
gopher.comment = require "gopher.comment"