fix: Tabbing in paq.lua

This commit is contained in:
Sayantan Santra 2024-03-19 03:59:14 -05:00
parent 503635ea27
commit 032a6cd807
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F

View file

@ -6,9 +6,9 @@ local function clone_paq()
vim.fn.system { "git", "clone", "--depth=1", "https://github.com/savq/paq-nvim.git", path } vim.fn.system { "git", "clone", "--depth=1", "https://github.com/savq/paq-nvim.git", path }
return true return true
end end
end end
local function bootstrap_paq(packages) local function bootstrap_paq(packages)
local first_install = clone_paq() local first_install = clone_paq()
vim.cmd.packadd("paq-nvim") vim.cmd.packadd("paq-nvim")
local paq = require("paq") local paq = require("paq")
@ -17,7 +17,7 @@ local function clone_paq()
paq.install() paq.install()
end end
paq(packages) paq(packages)
end end
-- Automatically install new packages at startup -- Automatically install new packages at startup
vim.api.nvim_create_autocmd("VimEnter", { vim.api.nvim_create_autocmd("VimEnter", {