Skip to content

Commit

Permalink
fix: exposed functions in init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Allaman committed Feb 23, 2024
1 parent 222c141 commit 828ad91
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lua/emoji/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ function Emoji.setup(opts)
end
end

Emoji.insert = require("emoji.ui").select_and_insert_emoji
Emoji.insert_by_group = require("emoji.ui").select_and_insert_emoji_by_group
Emoji.insert = function()
require("emoji.ui").select_and_insert_emoji()
end
Emoji.insert_by_group = function()
require("emoji.ui").select_and_insert_emoji_by_group()
end

return Emoji

0 comments on commit 828ad91

Please sign in to comment.