Code Monkey home page Code Monkey logo

Comments (5)

RayZ0rr avatar RayZ0rr commented on July 26, 2024 1

No luck with what I intended, the relevant highlights I thought were, MatchParen , MatchParenCur , MatchWord and MatchBackground.

I was trying to get the line of code (for the opening braces) that vim-matchup shows over text when the cursor is at closing braces and the opening braces is not currently visible in the buffer like shown here :

vim-ondarkpro

But overall, it looks good, and this thing I can adjust. Okay to close?

from onedarkpro.nvim.

olimorris avatar olimorris commented on July 26, 2024

Are Grey20 and Grey40 defined anywhere?

I have defined the following hlgroups and it appears to be working (as per the screenshot below):

hlgroups = {
  -- Vim matchup
  Cursorline = { bg = "${purple}" },
  MatchParen = { bg = "${purple}" },
  MatchBackground = { bg = "${purple}", fg = "${gray}" },
}

Screen Shot 2022-01-16 at 13 27 20@2x

from onedarkpro.nvim.

RayZ0rr avatar RayZ0rr commented on July 26, 2024

I think these colours are inbuilt? I am able to change the colors with Grey20 and Grey40 etc.

I will also test with vim-matchup

from onedarkpro.nvim.

olimorris avatar olimorris commented on July 26, 2024

You should be able to use the inbuilt colors like so:

hlgroups = {
  MatchBackground = {bg = "darkcyan"},
}

Let me know if you're still having issues.

from onedarkpro.nvim.

olimorris avatar olimorris commented on July 26, 2024

@RayZ0rr any luck in the end?

from onedarkpro.nvim.

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.