~ob/dotfiles

f47db8cdae0dbb7cbe36e820bfa948b64535876e — Oscar Benedito 6 months ago 9072cd5
Fix neovim bootstrapping
2 files changed, 6 insertions(+), 0 deletions(-)

M .config/nvim/lua/bootstrap-paq.lua
M .config/nvim/lua/plugins.lua
M .config/nvim/lua/bootstrap-paq.lua => .config/nvim/lua/bootstrap-paq.lua +1 -0
@@ 1,4 1,5 @@
local function paq_install()
    vim.g.headless_bootstrap = true
    local paq = require("plugins")
    vim.cmd "autocmd User PaqDoneInstall quit"
    paq.install()

M .config/nvim/lua/plugins.lua => .config/nvim/lua/plugins.lua +5 -0
@@ 11,6 11,11 @@ local ret = require("paq") {
    { url="https://dev.sanctum.geek.nz/code/vim-redact-pass.git", shallow=false }, -- disable leaky options when editing passwords with pass
}

-- don't run the package configs if we are doing the initial bootstrap
if vim.g.headless_bootstrap then
    return ret
end


do -- vim-commentary
    vim.cmd [[