vim-quickui
vim-quickui copied to clipboard
Docs: provide lua examples for heretics like myself.
Hey there fellow mouse user, glad to know I'm not the only heretic.
Since you mention this should work with Neovim 0.4+, how would we configure this in the context of using the lazy.nvim plugin manager?
{
'skywind3000/vim-quickui',
config = function ()
require('quickui').setup({}) -- ?????
end
}
This plugin uses an old-fashioned vimscript config style, so you have to do something like:
{
'skywind3000/vim-quickui',
init = function ()
-- Add some config to run BEFORE plugin/quickui.vim loads
vim.g.quickui_border_style = 2
end,
config = function ()
-- Add some config AFTER plugin/quickui.vim has been loaded
vim.cmd [[ hi! QuickPreview guibg=#262d2d ]]
end,
}
Would you be open to a PR that enhances the README?