From 8a87c5507fd03e003f852fef31e133937831db12 Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Mon, 27 Jun 2022 16:45:32 +0300 Subject: [PATCH] docs: add config --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index ce1f69e..b5e0272 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,25 @@ use { Also, run `TSInstall go` if install the `go` parser if not installed yet. +## Config + +By `.setup` function you can configure the plugin. + +Note: + +- Installer does not install the tool in user set path + +```lua +require("gopher").setup { + commands = { + go = "go", + gomodifytags = "gomodifytags", + gotests = "~/go/bin/gotests", -- also you can set custom command path + impl = "impl", + }, +} +``` + ## Features 1. Install requires go tools: