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:
commit
6d0150ab0b
3 changed files with 5 additions and 9 deletions
|
@ -39,7 +39,7 @@ _setup_packer() {
|
||||||
|
|
||||||
printf "\n%s\n" "=> Cloning packer.."
|
printf "\n%s\n" "=> Cloning packer.."
|
||||||
if "${_GIT}" clone "${_PACKER_REPO_URL}" \
|
if "${_GIT}" clone "${_PACKER_REPO_URL}" \
|
||||||
"${_PACKER_PATH}"; then
|
"${_PACKER_PATH}" --depth 20; then
|
||||||
printf "%s\n" "=> Packer Installed!"
|
printf "%s\n" "=> Packer Installed!"
|
||||||
else
|
else
|
||||||
printf "Error: Couldn't clone packer\n"
|
printf "Error: Couldn't clone packer\n"
|
||||||
|
|
|
@ -13,6 +13,7 @@ local one_bg3 = colors.one_bg3
|
||||||
local light_grey = colors.light_grey
|
local light_grey = colors.light_grey
|
||||||
local grey = colors.grey
|
local grey = colors.grey
|
||||||
local grey_fg = colors.grey_fg
|
local grey_fg = colors.grey_fg
|
||||||
|
local grey_fg2 = colors.grey_fg2
|
||||||
local red = colors.red
|
local red = colors.red
|
||||||
local line = colors.line
|
local line = colors.line
|
||||||
local green = colors.green
|
local green = colors.green
|
||||||
|
@ -41,7 +42,7 @@ fg("IndentBlanklineChar", line)
|
||||||
|
|
||||||
-- misc --
|
-- misc --
|
||||||
fg("LineNr", grey)
|
fg("LineNr", grey)
|
||||||
fg("Comment", grey)
|
fg("Comment", grey_fg2)
|
||||||
fg("NvimInternalError", red)
|
fg("NvimInternalError", red)
|
||||||
fg("VertSplit", line)
|
fg("VertSplit", line)
|
||||||
fg("EndOfBuffer", black)
|
fg("EndOfBuffer", black)
|
||||||
|
@ -149,9 +150,4 @@ fg("FloatBorder", black2)
|
||||||
|
|
||||||
-- set bg color for nvim ( so nvim wont use terminal bg)
|
-- set bg color for nvim ( so nvim wont use terminal bg)
|
||||||
|
|
||||||
-- NvChad themes bg colors
|
bg("Normal", black)
|
||||||
-- Onedark #1e222a
|
|
||||||
-- Gruvbox #222526
|
|
||||||
-- tomorrow night #1d1f21
|
|
||||||
|
|
||||||
-- bg("Normal", "#1e222a") -- change the hex color here.
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ opt.mouse = "a"
|
||||||
opt.signcolumn = "yes"
|
opt.signcolumn = "yes"
|
||||||
opt.cmdheight = 1
|
opt.cmdheight = 1
|
||||||
opt.updatetime = 250 -- update interval for gitsigns
|
opt.updatetime = 250 -- update interval for gitsigns
|
||||||
opt.timeoutlen = 200
|
opt.timeoutlen = 400
|
||||||
opt.clipboard = "unnamedplus"
|
opt.clipboard = "unnamedplus"
|
||||||
|
|
||||||
-- Numbers
|
-- Numbers
|
||||||
|
|
Loading…
Reference in a new issue