feat nvim: add onedark theme

This commit is contained in:
Yuan Chiu 2025-04-30 07:41:03 +08:00
parent 17da707ca0
commit 88835dd9fe
2 changed files with 15 additions and 1 deletions

View File

@ -40,7 +40,7 @@ require("lazy").setup({
-- }, -- },
-- 自動載入 plugins 資料夾中的所有插件 -- 自動載入 plugins 資料夾中的所有插件
{ import = "plugins" }, { import = "plugins" },
{ import = "plugins.colorscheme.nightfox" }, -- 自訂配色 { import = "plugins.colorscheme.onedark" }, -- 自訂配色
{ import = "plugins.tab.barbar" }, -- 目前只有barbar處理Buffer是最好的 { import = "plugins.tab.barbar" }, -- 目前只有barbar處理Buffer是最好的
-- 手動引入 o-plugins 資料夾中的插件 -- 手動引入 o-plugins 資料夾中的插件

View File

@ -0,0 +1,14 @@
-- Using Lazy
return {
"navarasu/onedark.nvim",
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
require('onedark').setup {
style = 'dark'
-- style = 'darker'
-- style = 'cool'
}
-- Enable theme
require('onedark').load()
end
}