From 47bd68a21f70915a52d08c8406abe25c93c892a2 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 24 Jan 2023 22:35:13 -0800 Subject: [PATCH] Revert "Cleanup" This reverts commit aa8c5504cb22859cdd72602452df4d6640f509ed. --- plugin/guid.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/guid.lua b/plugin/guid.lua index 85cd33e..8337dba 100644 --- a/plugin/guid.lua +++ b/plugin/guid.lua @@ -1,4 +1,6 @@ if not vim.g.guid then + local guid = require('guid') + local function reload() package.loaded.guid = nil guid = require('guid') @@ -17,7 +19,6 @@ if not vim.g.guid then end math.randomseed(os.time()) - reload() vim.api.nvim_create_user_command('GuidFormat', format, {nargs = '?'}) vim.api.nvim_create_user_command('GuidInsert', insert, {nargs = '?'})