Skip to content
Discussion options

You must be logged in to vote

Use the styles table for this. Keep comments italic, empty the other groups (conditionals is italic by default), and set miscs = {} so treesitter drops the leftover italics on @module and tags. Leave no_italic off. The compiler applies that flag after merge, so your Comment override gets stripped. Clear lsp_styles.virtual_text too or you'll still have italic diagnostics. Put this in your existing setup and run :CatppuccinCompile after you save.

require("catppuccin").setup {
  styles = {
    comments = { "italic" },
    conditionals = {},
    loops = {},
    functions = {},
    keywords = {},
    strings = {},
    variables = {},
    numbers = {},
    booleans = {},
    properties = {},
    …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@genmzy
Comment options

@comfysage
Comment options

@genmzy
Comment options

Answer selected by comfysage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants