feat nvim: add colorscheme.github-theme

This commit is contained in:
Yuan Chiu 2025-04-30 09:54:51 +08:00
parent 8daf1c4cfa
commit e025594116
2 changed files with 15 additions and 1 deletions

View File

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

View File

@ -0,0 +1,13 @@
return {
'projekt0n/github-nvim-theme',
name = 'github-theme',
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
require('github-theme').setup({
-- ...
})
vim.cmd('colorscheme github_dark')
end,
}