From 79c79c4872a5145dfbd94d8b24837430931b4213 Mon Sep 17 00:00:00 2001 From: ray-x Date: Thu, 3 Nov 2022 12:54:24 +1100 Subject: [PATCH] autocmd for mod on_save --- lua/go.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/go.lua b/lua/go.lua index 2a3937c..25311ef 100644 --- a/lua/go.lua +++ b/lua/go.lua @@ -180,6 +180,8 @@ function go.setup(cfg) go.impl_complete = require("go.complete").impl_complete go.modify_tags_complete = require("go.complete").modify_tags_complete go.add_tags_complete = require("go.complete").add_tags_complete + require('go.mod').setup() + end go.set_test_runner = function(runner)