Giter Site home page Giter Site logo

Comments (7)

mhinz avatar mhinz commented on May 24, 2024

Hey.

That should be the normal behaviour (since line highlighting is disabled by default).

  1. What colorscheme are you using and how do you set it?
  2. What happens when you press <leader>gh twice? (I guess there's still no syntax highlighting then.)

from vim-signify.

ipkiss42 avatar ipkiss42 commented on May 24, 2024

This is indeed the default behaviour (it was not clear from the help: you should perhaps indicate the default value of each option).

You are right, it comes from my colorscheme. The colorscheme I use was generated with CSApproxSnapshot (from the CSApprox plugin), to have nice colors in my terminal Vim.
What could I do to fix the issue (I don't mind generating the colorscheme again if needed, but I do want my nice colors)?

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

Right, I'll add the default values to the doc.

I know that CSApprox generates terminal colors from gui colorschemes. What does CSApproxSnapshot do? Does it create a colorscheme file from these colors? If so, please paste it somewhere.

from vim-signify.

ipkiss42 avatar ipkiss42 commented on May 24, 2024

You can read more about CSApproxSnapshot here: https://github.com/godlygeek/csapprox/blob/master/doc/CSApprox.txt

Here is the original colorscheme: http://pastebin.com/FzFThFed
And ihere is the version generated with CSApproxSnapshot: http://pastebin.com/7hSuDvjY

The issue is only there with the generated colorscheme, not with the source one.

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

Ehm, the generated colorscheme uses that line:

CSAHi NONE term=NONE cterm=NONE ctermbg=bg ctermfg=fg gui=NONE guibg=bg guifg=fg

The command CSAHi isn't doing that much. You can basically replace it by the highlight command.

I'm not sure why godlygeek is redefining NONE, but syntax highlighting for lines with signs works if you remove them.

from vim-signify.

ipkiss42 avatar ipkiss42 commented on May 24, 2024

Thanks for investigating this!
I create issue godlygeek/csapprox#11 to get to the bottom of the problem, so I'm closing this issue.

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

Hah, I'm glad it works for you now. :-)

from vim-signify.

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.