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: add config option to set gui style #117

Merged
merged 2 commits into from
Sep 5, 2022

Conversation

riddlew
Copy link
Contributor

@riddlew riddlew commented Aug 18, 2022

Currently, the gui style of both fg and bg highlight groups are hardcoded so that fg defaults to gui=NONE, and bg defaults to gui=BOLD. This prevents you from being able to customize the gui style, such as using bold,underline with the fg style.

This PR adds the ability to control the gui style of both the foreground and background highlight groups using the normal gui=... syntax, such as:

  gui_style = {
    fg = "NONE", -- No gui style for fg highlight group
    bg = "bold,underline", -- Use underlined bold style for bg highlight group
  },

@folke folke merged commit 231888a into folke:main Sep 5, 2022
@riddlew riddlew deleted the feat/toggle_bold_keywords branch December 15, 2022 03:11
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.

2 participants