Advertisement
Wurfkreuz

Untitled

May 7th, 2023
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. Options
  2. Options should be set before colorscheme
  3.  
  4. Variant respects vim.o.background, using dawn when light and dark_variant when dark
  5.  
  6. require('rose-pine').setup({
  7. --- @usage 'auto'|'main'|'moon'|'dawn'
  8. variant = 'auto',
  9. --- @usage 'main'|'moon'|'dawn'
  10. dark_variant = 'main',
  11. bold_vert_split = false,
  12. dim_nc_background = false,
  13. disable_background = false,
  14. disable_float_background = false,
  15. disable_italics = false,
  16.  
  17. --- @usage string hex value or named color from rosepinetheme.com/palette
  18. groups = {
  19. background = 'base',
  20. background_nc = '_experimental_nc',
  21. panel = 'surface',
  22. panel_nc = 'base',
  23. border = 'highlight_med',
  24. comment = 'muted',
  25. link = 'iris',
  26. punctuation = 'subtle',
  27.  
  28. error = 'love',
  29. hint = 'iris',
  30. info = 'foam',
  31. warn = 'gold',
  32.  
  33. headings = {
  34. h1 = 'iris',
  35. h2 = 'foam',
  36. h3 = 'rose',
  37. h4 = 'gold',
  38. h5 = 'pine',
  39. h6 = 'foam',
  40. }
  41. -- or set all headings at once
  42. -- headings = 'subtle'
  43. },
  44.  
  45. -- Change specific vim highlight groups
  46. -- https://github.com/rose-pine/neovim/wiki/Recipes
  47. highlight_groups = {
  48. ColorColumn = { bg = 'rose' },
  49.  
  50. -- Blend colours against the "base" background
  51. CursorLine = { bg = 'foam', blend = 10 },
  52. StatusLine = { fg = 'love', bg = 'love', blend = 10 },
  53. }
  54. })
  55.  
  56. -- Set colorscheme after options
  57. vim.cmd('colorscheme rose-pine')
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement