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 signify support #286

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bobbleclank
Copy link

@bobbleclank bobbleclank commented Dec 27, 2022

Both Git Gutter and Git Signs are supported. This pull request adds support for Signify.

Without Signify support a workaround like the following is required.

function! TokyonightThemeHighlighting()
  highlight SignifySignAdd    guifg=#399a96
  highlight SignifySignChange guifg=#6382bd
  highlight SignifySignDelete guifg=#c25d64
endfunction

augroup TokyonightThemeAutoCommands
  autocmd!
  au ColorScheme tokyonight,tokyonight-storm,tokyonight-night,tokyonight-moon
               \ call TokyonightThemeHighlighting()
augroup END

@dsummersl
Copy link

would love to see this in here...for now I just stuck it in my config:

  {
    "folke/tokyonight.nvim",
    init = function()
      -- vim.cmd.colorscheme('tokyonight')
    end,
    config = function()
      vim.cmd([[
        function! TokyonightThemeHighlighting()
          highlight SignifySignAdd    guifg=#399a96
          highlight SignifySignChange guifg=#6382bd
          highlight SignifySignDelete guifg=#c25d64
        endfunction

        augroup TokyonightThemeAutoCommands
          autocmd!
          au ColorScheme tokyonight,tokyonight-storm,tokyonight-night,tokyonight-moon
                       \ call TokyonightThemeHighlighting()
        augroup END
      ]])
    end,
    lazy = false,
    priority = 1000,
    opts = {},
  },

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.

None yet

2 participants