mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
fix nil groups
This commit is contained in:
parent
59a88444de
commit
c7dded5ab2
2 changed files with 9 additions and 10 deletions
|
|
@ -5,7 +5,7 @@ local M = {}
|
|||
|
||||
function M.get(config)
|
||||
local theme = {}
|
||||
local groups = config.groups
|
||||
local groups = config.groups or {}
|
||||
local colors = palette[config.variant or 'main']
|
||||
local styles = {
|
||||
italic = (config.disable_italics and 'italic') or 'NONE',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue