aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/user/colorscheme.lua
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-05-14 09:10:26 +0100
committerMatthew Lemon <y@yulqen.org>2023-05-14 09:10:26 +0100
commit0721b537a8aa3be8b70c183b25951494df9dcd0e (patch)
treeeff07bbc31aeefbb9d2e441bb5ca8b5a5a527ffb /nvim/lua/user/colorscheme.lua
parent10a89dfbc6bc57ce12c8cf90f1b38a34b728b369 (diff)
Installs nvim config base-idea
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