Skip to content

Commit

Permalink
chore(build): auto-generate vimdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 23, 2024
1 parent f23a008 commit 8422df2
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions doc/emoji.nvim.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*emoji.nvim.txt* For Neovim >= 0.9.0 Last change: 2024 December 17
*emoji.nvim.txt* For Neovim >= 0.9.0 Last change: 2024 December 23

==============================================================================
Table of Contents *emoji.nvim-table-of-contents*
Expand Down Expand Up @@ -33,6 +33,7 @@ FEATURES *emoji.nvim-features*
- (Optional) fzf-lua <https://github.com/ibhagwan/fzf-lua> integration with `require("fzf-lua").register_ui_select()` (register fzf-lua as the UI interface for vim.ui.select)
- (Optional) telescope.nvim <https://github.com/nvim-telescope/telescope.nvim> integration (emojis only).
- (Optional) nvim-cmp <https://github.com/hrsh7th/nvim-cmp> integration (emojis only).
- (Optional) blink.cmp <https://github.com/Saghen/blink.cmp> integration via blink.compat <https://github.com/saghen/blink.compat> (emojis only).


SCREENSHOTS *emoji.nvim-screenshots*
Expand All @@ -58,7 +59,7 @@ With Lazy.nvim <https://github.com/folke/lazy.nvim>
"ibhagwan/fzf-lua",
},
opts = {
-- default is false
-- default is false, also needed for blink.cmp integration!
enable_cmp_integration = true,
-- optional if your plugin installation directory
-- is not vim.fn.stdpath("data") .. "/lazy/
Expand Down Expand Up @@ -90,6 +91,35 @@ For telescope integration load the extension via:
require("telescope").load_extension("emoji")
<

blink.cmp integration:

>lua
{
"saghen/blink.cmp",
optional = true,
dependencies = { "allaman/emoji.nvim", "saghen/blink.compat" },
opts = {
sources = {
default = { "emoji" },
providers = {
emoji = {
name = "emoji",
module = "blink.compat.source",
-- overwrite kind of suggestion
transform_items = function(ctx, items)
local kind = require("blink.cmp.types").CompletionItemKind.Text
for i = 1, #items do
items[i].kind = kind
end
return items
end,
},
},
},
},
}
<


USE *emoji.nvim-use*

Expand Down

0 comments on commit 8422df2

Please sign in to comment.