From aa8c5504cb22859cdd72602452df4d6640f509ed Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Tue, 24 Jan 2023 22:33:24 -0800 Subject: [PATCH] Cleanup --- plugin/guid.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/guid.lua b/plugin/guid.lua index 8337dba..85cd33e 100644 --- a/plugin/guid.lua +++ b/plugin/guid.lua @@ -1,6 +1,4 @@ if not vim.g.guid then - local guid = require('guid') - local function reload() package.loaded.guid = nil guid = require('guid') @@ -19,6 +17,7 @@ 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 = '?'})