From c38c4ec0cf19a3712e274ae11cd36ffb83b56305 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Tue, 13 Jul 2021 14:13:33 +0530 Subject: [PATCH 1/4] install.sh: Do shallow clone for packer.nvim --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 93b25f7..3f3b9e1 100755 --- a/install.sh +++ b/install.sh @@ -39,7 +39,7 @@ _setup_packer() { printf "\n%s\n" "=> Cloning packer.." if "${_GIT}" clone "${_PACKER_REPO_URL}" \ - "${_PACKER_PATH}"; then + "${_PACKER_PATH}" --depth 20; then printf "%s\n" "=> Packer Installed!" else printf "Error: Couldn't clone packer\n" From 605c9e0458543f8a553ded709f5816f61c196845 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Tue, 13 Jul 2021 14:16:27 +0530 Subject: [PATCH 2/4] highlights.lua: set neovim bg colour --- lua/highlights.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lua/highlights.lua b/lua/highlights.lua index 434552d..4fbd289 100644 --- a/lua/highlights.lua +++ b/lua/highlights.lua @@ -149,9 +149,4 @@ fg("FloatBorder", black2) -- set bg color for nvim ( so nvim wont use terminal bg) --- NvChad themes bg colors --- Onedark #1e222a --- Gruvbox #222526 --- tomorrow night #1d1f21 - --- bg("Normal", "#1e222a") -- change the hex color here. +bg("Normal", black) From 10ddd491c15325270f0e6f4df48a3a8e30a3c6a7 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Tue, 13 Jul 2021 16:06:31 +0530 Subject: [PATCH 3/4] highlights.lua: fix comments not visible in visual selection mode --- lua/highlights.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/highlights.lua b/lua/highlights.lua index 4fbd289..511393c 100644 --- a/lua/highlights.lua +++ b/lua/highlights.lua @@ -13,6 +13,7 @@ local one_bg3 = colors.one_bg3 local light_grey = colors.light_grey local grey = colors.grey local grey_fg = colors.grey_fg +local grey_fg2 = colors.grey_fg2 local red = colors.red local line = colors.line local green = colors.green @@ -41,7 +42,7 @@ fg("IndentBlanklineChar", line) -- misc -- fg("LineNr", grey) -fg("Comment", grey) +fg("Comment", grey_fg2) fg("NvimInternalError", red) fg("VertSplit", line) fg("EndOfBuffer", black) From e6ae79127f60d598f8f1764a454d2e2168cf1f83 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Tue, 13 Jul 2021 16:16:57 +0530 Subject: [PATCH 4/4] Increase timeoutlen to 400 sometimes 200 ms is way too for 3 key mappings --- lua/options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/options.lua b/lua/options.lua index 81c6a2d..611acd6 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -11,7 +11,7 @@ opt.mouse = "a" opt.signcolumn = "yes" opt.cmdheight = 1 opt.updatetime = 250 -- update interval for gitsigns -opt.timeoutlen = 200 +opt.timeoutlen = 400 opt.clipboard = "unnamedplus" -- Numbers