Coder Social home page Coder Social logo

Comments (7)

ap avatar ap commented on August 17, 2024

I don’t think cursorcolumn is the problem, but I’d like to test my hypothesis.

Can you redo the screenshot – exactly the same except with :set nocursorcolumn?

from vim-css-color.

davidosomething avatar davidosomething commented on August 17, 2024

its colorcolumn
cursorcolumn doesn't do anything afaik - returns an error when i do the set command

here it is with set colorcolumn=0
http://screencast.com/t/CGT0YBH5sJcD

from vim-css-color.

ap avatar ap commented on August 17, 2024

Ah. I see now that you wrote colorcolumn in the title of this issue, which I wasn’t aware existed. I misread that as cursorcolumn because that most definitely does something. (Not sure what sort of weird Vim configuration you have that trying to set it gives you an error – your Vim is clearly not compiled without the +syntax feature…)

That second screenshot doesn’t help – I asked for exactly the same screenshot, only with that setting changed, i.e. the same combination of cursor placement, color value, highlighting, etc. – ideally the same file and cursor position.

from vim-css-color.

davidosomething avatar davidosomething commented on August 17, 2024

Such a screenshot would look exactly the same -- here it is anyway:
http://screencast.com/t/7nm6uSvG

Here's a video of cursorcolumn values on and off with the cursor going to that exact position of that file:
http://screencast.com/t/hQsSomMCmDUN
colorcolumn is still on

Here's an image of cursorcolumn over the hex color:
http://screencast.com/t/83joJegZe6sx

Here's a video with colorcolumn -- the offending setting -- toggled on and off
http://screencast.com/t/DlIs1PxsyGw5

from vim-css-color.

ap avatar ap commented on August 17, 2024

Here's an image of cursorcolumn over the hex color:
http://screencast.com/t/83joJegZe6sx

So this one works.

I think I understand the problem, i.e. it’s probably just the same as cursorline and cursorcolumn, where Vim forcibly combines the overlay highlight with the syntax highlight and gives priority to the overlay. I don’t know if it can be fixed – note how I have support for cursorline in the plugin, but not for cursorcolumn. That’s for a reason… But I’ll see if I can think of something.

Which colorscheme is that, btw? (I don’t get this problem with my own colorschemes, and I don’t want to have to keep asking you for screenshots…)

from vim-css-color.

davidosomething avatar davidosomething commented on August 17, 2024

The colorscheme is solarized light
https://github.com/altercation/vim-colors-solarized

set background=light
silent! colorscheme solarized

from vim-css-color.

davidosomething avatar davidosomething commented on August 17, 2024

not plugin issue, this is a vim issue

from vim-css-color.

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.