Skip to content

Commit

Permalink
fix(nord-nvim): correct scoping of opts vars
Browse files Browse the repository at this point in the history
  • Loading branch information
0xricksanchez authored and owittek committed May 4, 2023
1 parent 72eb16e commit 1e67c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/astrocommunity/colorscheme/nord-nvim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local utils = require("astronvim.utils")
{
"lukas-reineke/headlines.nvim",
opts = function(_, opts)
if not markdown then markdown = {} end
if not opts.markdown then opts.markdown = {} end
opts.markdown.headline_highlights = utils.list_insert_unique(opts.markdown.headline_highlights, {
"Headline1",
"Headline2",
Expand All @@ -37,7 +37,7 @@ local utils = require("astronvim.utils")
{
"akinsho/bufferline.nvim",
opts = function(_, opts)
if not options then options = {} end
if not opts.options then opts.options = {} end
opts.options = utils.list_insert_unique(opts.options, {
separator_style = "thin",
})
Expand Down

0 comments on commit 1e67c81

Please sign in to comment.