minimal extui fuzzy finder for neovim

feat(builtins): add preview to helptags

Reviewed-on: https://github.com/comfysage/artio.nvim/pull/15
Co-authored-by: sairy <10310312-sairy@users.noreply.gitlab.com>

authored by

Yuhf7
sairy
and committed by robinwobin.dev b2716dee d792cdcf

+11
+11
lua/artio/builtins.lua
··· 272 272 vim.cmd.help(text) 273 273 end) 274 274 end, 275 + preview_item = function(tag) 276 + return vim.api.nvim_create_buf(false, true), function(w) 277 + local buf = vim.api.nvim_win_get_buf(w) 278 + vim.bo[buf].bufhidden = "wipe" 279 + vim.bo[buf].buftype = "help" 280 + 281 + vim._with({ buf = buf }, function() 282 + vim.cmd.help(tag) 283 + end) 284 + end 285 + end, 275 286 }, props) 276 287 ) 277 288 end