From c2a1469b4b2ee830c871cb723df4e38990b7ca74 Mon Sep 17 00:00:00 2001 From: Murilo Ghignatti Date: Tue, 25 Jul 2023 08:00:02 -0300 Subject: [PATCH] Moved one line below to keep it consistent --- .luarc.json | 3 +++ lua/lazy/manage/task/git.lua | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .luarc.json diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..23b9ee2 --- /dev/null +++ b/.luarc.json @@ -0,0 +1,3 @@ +{ + "workspace.checkThirdParty": false +} \ No newline at end of file diff --git a/lua/lazy/manage/task/git.lua b/lua/lazy/manage/task/git.lua index b401c84..1d15dbc 100644 --- a/lua/lazy/manage/task/git.lua +++ b/lua/lazy/manage/task/git.lua @@ -67,14 +67,14 @@ M.clone = { self.plugin.url, } - if self.plugin.shallow ~= false then - args[#args+1] = "--depth=1" - end - if Config.options.git.filter then args[#args + 1] = "--filter=blob:none" end + if self.plugin.shallow ~= false then + args[#args+1] = "--depth=1" + end + if self.plugin.submodules ~= false then args[#args + 1] = "--recurse-submodules" end