feat nvim: add onedark theme
This commit is contained in:
parent
17da707ca0
commit
88835dd9fe
@ -40,7 +40,7 @@ require("lazy").setup({
|
||||
-- },
|
||||
-- 自動載入 plugins 資料夾中的所有插件
|
||||
{ import = "plugins" },
|
||||
{ import = "plugins.colorscheme.nightfox" }, -- 自訂配色
|
||||
{ import = "plugins.colorscheme.onedark" }, -- 自訂配色
|
||||
{ import = "plugins.tab.barbar" }, -- 目前只有barbar處理Buffer是最好的
|
||||
|
||||
-- 手動引入 o-plugins 資料夾中的插件
|
||||
|
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user