Comments (13)
Same issue on Debian Testing - vim 7.4
from vim-less.
Same issue with MacVim 7.4 on Mavericks
http://i.imgur.com/FvLO4A1.png
from vim-less.
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:
from vim-less.
Same here:
from vim-less.
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.
Hey, the problem seems to have gotten worse after the update:
from vim-less.
Thanks a lot for looking into this, @groenewege. I just pulled the changes and this is the result.
from vim-less.
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.
Perhaps @jdaihl can help with this? He seems skilled and forked the repo recently :D
from vim-less.
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.
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.
@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.
Since this isn't directly related / caused by vim-less, I am going to close this for now.
from vim-less.
Related Issues (20)
- Wrong indentation with nested properties HOT 2
- Filetype detection HOT 7
- Bad Indention HOT 1
- Not indenting anymore ? HOT 1
- error with MAP HOT 1
- Slow file load time when opening files HOT 1
- Set custom shiftwidth etc. HOT 2
- vim73 indentation of mixins HOT 1
- doesn't seem to work with vim-css3 HOT 1
- Vim74 syntax issues HOT 3
- Highlighting doesn't work automatically with VIM74+vundle HOT 9
- Nested '}' auto indent wrong HOT 5
- No Autocomplete HOT 1
- Folding issue with nested rules on same line HOT 1
- LOOKING FOR HELP HOT 7
- Illegal character <j> HOT 2
- Before and after install vim-css3-syntax HOT 3
- It doesn't have any color unless I run `:source $MYVIMRC`? HOT 4
- Vim get slow over time HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-less.