Revert "Cleanup"

This reverts commit aa8c5504cb.
This commit is contained in:
Alex Yatskov 2023-01-24 22:35:13 -08:00
parent aa8c5504cb
commit 47bd68a21f

View File

@ -1,4 +1,6 @@
if not vim.g.guid then if not vim.g.guid then
local guid = require('guid')
local function reload() local function reload()
package.loaded.guid = nil package.loaded.guid = nil
guid = require('guid') guid = require('guid')
@ -17,7 +19,6 @@ if not vim.g.guid then
end end
math.randomseed(os.time()) math.randomseed(os.time())
reload()
vim.api.nvim_create_user_command('GuidFormat', format, {nargs = '?'}) vim.api.nvim_create_user_command('GuidFormat', format, {nargs = '?'})
vim.api.nvim_create_user_command('GuidInsert', insert, {nargs = '?'}) vim.api.nvim_create_user_command('GuidInsert', insert, {nargs = '?'})