GithubHelp home page GithubHelp logo

Comments (5)

dylnmc avatar dylnmc commented on August 15, 2024

It's DiffAdd, DiffChange and DiffDelete in vim.

Are you in neovim? Also, how did you get to this diff? Did you use :diffthis or something? Or is this a plugin?

Thanks,
dylnmc


If you're in neovim, and this is a real thing, I'll hi linkDiffAdded to DiffAdd and DiffDeleted to DiffDelete when I get home.

from vim.

arcticicestudio avatar arcticicestudio commented on August 15, 2024

Thanks for your contribution, but the theme already supports highlighting for diff. The groups are named diffAdd and diffDelete.

The theme also provides a configuration to enable uniform diff backgrounds.

I've searched the official vim documentation, but the only groups listed are diffAdd and diffDelete.

@brandoniffert Is there any documentation about the groups you mentioned or are they maybe added by a plugin you're using?

from vim.

brandoniffert avatar brandoniffert commented on August 15, 2024

Hmm, I can't seem to find docs on it either but I've had it in other colorschemes. It's in the vim source code for git.vim and diff.vim

I have vim set to my $EDITOR and when I run git commit --verbose it opens it in vim to edit and that's where I see this interface.

from vim.

arcticicestudio avatar arcticicestudio commented on August 15, 2024

Ah, I see 👀

I've scoured through the git log and saw that it was included in the theme in an earlier version, but I've removed it because it seemed like a deprecated group since it had no effect when used with vim -d / :diff.

I'll link the missing groups to their respective diff* group.

from vim.

arcticicestudio avatar arcticicestudio commented on August 15, 2024

Linked diffAdded and diffRemoved to their respective groups and the diffChanged group to DiffChange.

from vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.