Open gadamiak opened 13 years ago
coz i used a lot of regexp for highlights in order to provide a simple ssyntax checker -- only perfect matched keyword will be highlighted. but seems it will conflict with some plugin (those plugin cannot support complex regexp), i'm considering to rewrite this plugin with less regexp and write a new plugin to do the checking job.
... only perfect matched keyword will be highlighted.
I only use hex and rgba notations.
'css_color.vim' is loaded from after/syntax/
folder so it should not conflict,
however it is. I'm not familiar with syntax files, so I can't tell.
Have you thought about submitting your syntax file as patch to Vim?
BTW, have you thought about updating csscomplete.vim
? You've put all post 2.1
stuff anyway, so maybe updating it wouldn't require you to do so much work?
So many questions, sorry :)
'css_color.vim' is loaded from
after/syntax/
folder so it should not conflict, it's due to vim's syntax feature, if one rule is too complex, the others won't be applied.Have you thought about submitting your syntax file as patch to Vim? no... coz it isn't stable enough to submit to vim as patch
BTW, have you thought about updating
csscomplete.vim
? i've never use this plugin before, mainly i use autocomplpro. i'll have a try about it
i've never use this plugin before, mainly i use autocomplpro.
I meant Vim's 7.3 built-in completion. Now it consists of CSS 2.1 only.
sorry for replying so late, im quite busy these days.
i've tried the built-in csscomplete.vim, seems not difficult to update it. added it to my schedule, but not sure when will finish and commit it.
Thanks! That would be really helpful to have it updated :)
hi gadamiak, here's the css3 supported csscomplete.css just for preview. create a /autoload/csscomplete.vim with the above code. this version only supports properties, values are not included and can't recognize prefix.
btw, you can add your own properties by modifying the "let" sentences on L9 to 28
+1. it also breaks vim-css-color
It works fine for me with vim-css-color (I'm using VAM to manage my plugins).
It also works fine with https://github.com/chrisbra/color_highlight. This add-on works not only with css but it can be applied to other filetypes, too, and it has various options to configure the display of the colour.
css_color.vim
applies colored background for color definitions and is a great tool for CSS. However, it stops working with your syntax file. It works with a stock css.vim without problems.