projects
/
nvim
/
nord.nvim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec29ed
)
Shortened code
author
asteroidalaz
<51114513+asteroidalaz@users.noreply.github.com>
Tue, 25 Jan 2022 05:27:24 +0000
(10:57 +0530)
committer
GitHub
<noreply@github.com>
Tue, 25 Jan 2022 05:27:24 +0000
(10:57 +0530)
The == `isEqualTo` check don't neet to be done on the the boolean data type.
lua/nord/colors.lua
patch
|
blob
|
history
diff --git
a/lua/nord/colors.lua
b/lua/nord/colors.lua
index 5465aea08f5a1a20253e262631c5cf2eb64540b4..604612abe35e7e790e5e102d1d52ee335895683d 100644
(file)
--- a/
lua/nord/colors.lua
+++ b/
lua/nord/colors.lua
@@
-43,7
+43,7
@@
local nord = (vim.o.background == "dark")
}
-- Enable contrast sidebars, floating windows and popup menus
-if vim.g.nord_contrast
== true
then
+if vim.g.nord_contrast then
nord.sidebar = nord.nord1_gui
nord.float = nord.nord1_gui
else
@@
-51,7
+51,7
@@
else
nord.float = nord.nord0_gui
end
-if vim.g.nord_cursorline_transparent
== true
then
+if vim.g.nord_cursorline_transparent then
nord.cursorlinefg = nord.nord0_gui
else
nord.cursorlinefg = nord.nord1_gui