cvigilv / esqueleto.nvim

Reduce your boilerplate code the lazy-bones way
MIT License
98 stars 7 forks source link

feat: add optional buf_id param to wildcard #55

Closed AgatZan closed 1 week ago

AgatZan commented 1 month ago

Inspired by spooky.nvim

cvigilv commented 1 week ago

This can be easily done adding that wildcard to your config as follows:

reauire("esqueleto").setup({
  -- Your config...
  wildcards = {
    lookup = {
      ["bufid"] = function() vim.api.nvim_get_current_buf() end,
    },
  },
})

Let me know if this works for your needs, thanks for the issue.