bub.nvim is a collection of utilities for Neovim.
If Batman had Neovim, this is what his utility belt would look like.
- Neovim (tested with 0.11.5, other versions may work as well)
Please use release tags when installing the plugin to ensure compatibility and stability.
The main branch may contain breaking changes
and isn't guaranteed to be stable.
See: lazy.nvim
{
'mistweaverco/bub.nvim',
version = 'v1.0.1',
},See: packer.nvim
use {
'mistweaverco/bub.nvim',
tag = 'v1.0.1',
})vim.pack.add({
src = 'https://github.com/mistweaverco/bub.nvim.git',
version = 'v1.0.1',
})It's a collection of utilities for Neovim.
You can require each utility module like this:
local fs_exists = require('bub.utils.fs.exists')or a parent module like this:
local fs = require('bub.utils.fs')If you want to have access to all utilities at once, you can require the main module:
local bub = require('bub')You can see a real-world usage example in our own test-suite: here.