Cleanup
This commit is contained in:
parent
5211e9ed04
commit
aa8c5504cb
@ -1,6 +1,4 @@
|
|||||||
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')
|
||||||
@ -19,6 +17,7 @@ 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 = '?'})
|
||||||
|
Loading…
Reference in New Issue
Block a user