aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/user/colorscheme.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/user/colorscheme.lua')
-rw-r--r--nvim/lua/user/colorscheme.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/nvim/lua/user/colorscheme.lua b/nvim/lua/user/colorscheme.lua
new file mode 100644
index 0000000..bbbe16d
--- /dev/null
+++ b/nvim/lua/user/colorscheme.lua
@@ -0,0 +1,19 @@
+local M = {
+ "rose-pine/neovim",
+ 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
+}
+
+M.name = "rose-pine"
+function M.config()
+ require('rose-pine').setup {
+ disable_italics = true,
+ dark_variant = 'main'
+ }
+ local status_ok, _ = pcall(vim.cmd.colorscheme, M.name)
+ if not status_ok then
+ return
+ end
+end
+
+return M