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

Share your custom filetype highlights #24

Closed
olimorris opened this issue Feb 10, 2022 · 2 comments
Closed

Share your custom filetype highlights #24

olimorris opened this issue Feb 10, 2022 · 2 comments
Labels
tips Useful tip for other users

Comments

@olimorris
Copy link
Owner

olimorris commented Feb 10, 2022

After merging 43bfe7d, the theme now has the ability to specify highlight groups by filetype. Creating this issue for us to share our custom configs to get filetypes looking as close to One Dark Pro as possible.

After pasting some yaml and ruby code into VS Code and comparing the colors, this is where I've ended up:

Yaml

filetype_hlgroups = {
  yaml = {
    TSField = { fg = "${red}" },
  }
}

Ruby

filetype_hlgroups = {
  ruby = {
    TSFunction = { fg = "${blue}", style = "bold" },
    TSInclude = { fg = "${blue}", style = "italic" },
    TSParameter = { fg = "${fg}" },
    TSSymbol = { fg = "${cyan}" },
  }
}
@olimorris olimorris pinned this issue Feb 10, 2022
@olimorris olimorris changed the title [Request] Share your custom filetype highlights Share your custom filetype highlights Feb 15, 2022
@olimorris olimorris added the tips Useful tip for other users label Feb 16, 2022
@olimorris
Copy link
Owner Author

SCSS

filetype_hlgroups = {
  scss = {
    TSFunction = { fg = "${cyan}" },
    TSProperty = { fg = "${orange}" },
    TSPunctDelimiter = { fg = "${orange}" },
    TSType = { fg = "${red}" },
  }
}

As per #33 .

@olimorris
Copy link
Owner Author

@amaanq pop it in a new issue and let's discuss.

Repository owner deleted a comment from amaanq Oct 3, 2022
Repository owner deleted a comment from amaanq Oct 3, 2022
@olimorris olimorris unpinned this issue Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tips Useful tip for other users
Projects
None yet
Development

No branches or pull requests

1 participant