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

Allow highlight message content #256

Closed
przepompownia opened this issue Oct 18, 2024 · 0 comments
Closed

Allow highlight message content #256

przepompownia opened this issue Oct 18, 2024 · 0 comments

Comments

@przepompownia
Copy link

przepompownia commented Oct 18, 2024

local default = vim.tbl_extend('force', require('fidget.notification').default_config, {
  name = nil,
  icon = nil,
  debug_annote = '',
  info_annote = '',
  warn_annote = '',
  error_annote = '',
  group_style = 'Title',
  icon_style = 'Special',
  annote_style = 'Question',
  debug_style = 'Comment',
  info_style = 'Question',
  warn_style = 'WarningMsg',
  error_style = 'ErrorMsg',
})

default.name = nil
default.icon = nil

require('fidget').setup({
  notification = {
    configs = {
      default = default,
    },
    override_vim_notify = true,
    view = {
      stack_upwards = false,
    },
  },
  logger = {
    level = vim.log.levels.TRACE,
  }
})

With the above configuration I get

image

and didn't found any way how to colorize the content (like in clean nvim). Is it possible?

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

No branches or pull requests

1 participant