summaryrefslogtreecommitdiff
path: root/lua/aotrix/plugins/duskfox.lua
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-02-23 03:27:58 +0100
committerAotrix <[email protected]>2025-02-23 03:27:58 +0100
commit827193de75ecd7dd8da83272aafd036e12d9a573 (patch)
treedfc217f21cdad93df7cdc15eb43509dcaf0ab60b /lua/aotrix/plugins/duskfox.lua
parentedf2220385b054af2343402b0c268d2608a96b5b (diff)
refactored config
Diffstat (limited to 'lua/aotrix/plugins/duskfox.lua')
-rw-r--r--lua/aotrix/plugins/duskfox.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/lua/aotrix/plugins/duskfox.lua b/lua/aotrix/plugins/duskfox.lua
new file mode 100644
index 0000000..ac59521
--- /dev/null
+++ b/lua/aotrix/plugins/duskfox.lua
@@ -0,0 +1,12 @@
+return {
+ "EdenEast/nightfox.nvim",
+ config = function()
+ local colorscheme = "duskfox"
+ local ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
+ vim.o.background = "dark" -- or "light" for light mode
+ if not ok then
+ vim.notify("colorscheme " .. colorscheme .. " not found!")
+ return
+ end
+ end
+}