summaryrefslogtreecommitdiff
path: root/.config/nvim/after/plugin/colors.lua
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-09-19 18:14:31 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-09-19 18:14:31 -0400
commit1d1039dfd58c3295c03f98a1890fb67f1bf98a46 (patch)
treeb8479436202043fbf1ca75b694e86c781f05c683 /.config/nvim/after/plugin/colors.lua
parent4bbb06a49fc3999bfd9ac17a5f3093963c9e595e (diff)
Nvim lua test
Diffstat (limited to '.config/nvim/after/plugin/colors.lua')
-rw-r--r--.config/nvim/after/plugin/colors.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/colors.lua b/.config/nvim/after/plugin/colors.lua
new file mode 100644
index 0000000..33e9aaf
--- /dev/null
+++ b/.config/nvim/after/plugin/colors.lua
@@ -0,0 +1,8 @@
+function ColorMyPencils(color)
+ color = color or "everforest"
+ vim.cmd.colorscheme(color)
+ vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
+ vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
+end
+
+ColorMyPencils()