Giter Club home page Giter Club logo

Comments (13)

ajpaulson avatar ajpaulson commented on September 26, 2024

Same issue on Debian Testing - vim 7.4

from vim-less.

hexanal avatar hexanal commented on September 26, 2024

Same issue with MacVim 7.4 on Mavericks
http://i.imgur.com/FvLO4A1.png

from vim-less.

m-ou-se avatar m-ou-se commented on September 26, 2024

Same here on Vim 7.4 on Linux without any other plugins. 'border', 'padding, 'left', 'right' and 'font-size' show in the same color as values. 'color' shows in the same color as classes and ids:

vim

from vim-less.

juanghurtado avatar juanghurtado commented on September 26, 2024

Same here:

vim-less

from vim-less.

groenewege avatar groenewege commented on September 26, 2024

Hi everyone,

I wrote this plugin a time ago when I was trying out Vim and didn't find a plugin for LESS syntax.
I no longer use VIM or LESS and I am no vim script master.
I tried fixing this problem by looking at the haml / sass plugin.
Please let me know if everything is ok now.

best regards,
gunther

from vim-less.

m-ou-se avatar m-ou-se commented on September 26, 2024

Hey, the problem seems to have gotten worse after the update:

vim-less

from vim-less.

juanghurtado avatar juanghurtado commented on September 26, 2024

Thanks a lot for looking into this, @groenewege. I just pulled the changes and this is the result.

captura de pantalla 2013-11-26 a la s 14 45 03

from vim-less.

groenewege avatar groenewege commented on September 26, 2024

sorry, I will revert to the old code.
I am not sure that I will be able to solve this problem.
If someone is more skilled, I would appreciate the help.

from vim-less.

littke avatar littke commented on September 26, 2024

Perhaps @jdaihl can help with this? He seems skilled and forked the repo recently :D

from vim-less.

dhruvasagar avatar dhruvasagar commented on September 26, 2024

Hi, I had a look into this, this seems to be stemming from native css syntax which less plugin includes. To me it looks like a feature rather than a bug because from the looks of it css plugin is trying to differentiate between css attributes.

from vim-less.

juanghurtado avatar juanghurtado commented on September 26, 2024

Well, it may be a "feature" as you say. But… what is the css plugin trying
to differentiate? I mean… according to the screenshot I sent, margin and
padding attributes are being highlighted in a different way. Why is it so?
The same with the different "font" attributes.

What is the criteria for this?

2015-06-05 15:58 GMT+02:00 Dhruva Sagar [email protected]:

Hi, I had a look into this, this seems to be stemming from native css
syntax which less plugin includes. To me it looks like a feature rather
than a bug because from the looks of it css plugin is trying to
differentiate between css attributes.


Reply to this email directly or view it on GitHub
#34 (comment).

Juan G. Hurtado
[email protected]

from vim-less.

dhruvasagar avatar dhruvasagar commented on September 26, 2024

@juanghurtado Can you give me a more recent screenshot ? Also which version of vim are you using ?

All font-* should be highlighted same, since they correspond to cssFontProp highlight group.
Similarly border-* ones are cssBorderProp, margin is cssBoxProp, padding is cssUiProp.

Like I said, css syntax definition is trying to be very granular and tries to make similar styles look similar by making them belong to the same highlight groups.

How they look eventually is still subject to your colorscheme, and also possibly affected by any additional css plugins that you might be using.

from vim-less.

dhruvasagar avatar dhruvasagar commented on September 26, 2024

Since this isn't directly related / caused by vim-less, I am going to close this for now.

from vim-less.

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.