Merge pull request #155 from Akianonymus/main

Use shallow clone for packer | set bg colour | Fix visual selection color | Misc improvements
This commit is contained in:
siduck76 2021-07-13 19:43:02 +05:30 committed by GitHub
commit 6d0150ab0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 9 deletions

View File

@ -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"

View File

@ -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)
@ -149,9 +150,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)

View File

@ -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