From 364fbb45d8d54b0602ddc1febd98a01a0d5d74f4 Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Mon, 28 Apr 2025 18:20:49 +0800 Subject: [PATCH] =?UTF-8?q?feat=20nvim:=20=E8=A8=AD=E5=AE=9Anordfox=20colo?= =?UTF-8?q?rscheme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dot_config/nvim/lua/config/lazy.lua | 2 +- dot_config/nvim/lua/plugins/nightfox.lua | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 dot_config/nvim/lua/plugins/nightfox.lua diff --git a/dot_config/nvim/lua/config/lazy.lua b/dot_config/nvim/lua/config/lazy.lua index 92eb4a8..528353b 100644 --- a/dot_config/nvim/lua/config/lazy.lua +++ b/dot_config/nvim/lua/config/lazy.lua @@ -29,7 +29,7 @@ require("lazy").setup({ }, -- Configure any other settings here. See the documentation for more details. -- colorscheme that will be used when installing plugins. --- install = { colorscheme = { "habamax" } }, + install = { colorscheme = { "habamax" } }, -- automatically check for plugin updates checker = { enabled = true }, }) diff --git a/dot_config/nvim/lua/plugins/nightfox.lua b/dot_config/nvim/lua/plugins/nightfox.lua new file mode 100644 index 0000000..0344c85 --- /dev/null +++ b/dot_config/nvim/lua/plugins/nightfox.lua @@ -0,0 +1,20 @@ +-- if true then return {} end +return { + { + "EdenEast/nightfox.nvim", + lazy = false, + priority = 1000, + config = function() + require("nightfox").setup({ + options = { + styles = { + comments = "italic", + keywords = "bold", + types = "italic,bold", + }, + }, + }) + vim.cmd("colorscheme nordfox") + end, + }, +} \ No newline at end of file