Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(concealer): code block background min_width #1328

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

benlubas
Copy link
Contributor

@benlubas benlubas commented Mar 2, 2024

closes #1327

It doesn't quite do what that issue says, but I like this better.

Lets you set a min width for code cell background highlights. It's also an incredibly simple change.

Example

New configuration looks like this:

-- ...
["core.concealer"] = {
  config = {
    icons = {
      code_block = {
        width = "content",
        min_width = 85,
      },
    },
  },
},
-- ...

And the result:
image

@vhyrro vhyrro changed the title feat: code block background min_width feat(concealer): code block background min_width Mar 4, 2024
@vhyrro vhyrro merged commit efac835 into nvim-neorg:main Mar 4, 2024
1 of 2 checks passed
@benlubas benlubas deleted the feat/fixed_width_code_cells branch March 4, 2024 19:36
sahinf pushed a commit to sahinf/neorg that referenced this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Code Cell Highlighting at Fixed Width
2 participants