summaryrefslogtreecommitdiffstats
path: root/nvim/lua/user/colorscheme.lua
blob: bbbe16dcbea6d06cb826733ca9bb878242295b0c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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