Bug 300559 - Syntax for Css3,LessCss,Scss,Haml
Summary: Syntax for Css3,LessCss,Scss,Haml
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL: https://github.com/Mte90/Web-Syntax-Kate
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-24 13:07 UTC by Daniele Scasciafratte
Modified: 2012-10-27 11:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Scasciafratte 2012-05-24 13:07:03 UTC
I have made it a repo of syntax file for Css3,LessCss,Scss,Haml.
It's possibile add to kate?
i have updated the css3 rules also :-)

Reproducible: Always
Comment 1 Daniele Scasciafratte 2012-05-24 13:23:55 UTC
This syntax are checked with checktd and not have problems :-)
Comment 2 Daniele Scasciafratte 2012-06-17 14:54:20 UTC
i've updated the less.xml backporting some feature of scss.xml.
my scss.xml it's more complete for css tag respect the scss in the 4.8.90 version.
Comment 3 Kabakov Alexander 2012-06-19 07:15:59 UTC
Mte90: Hi, Nice work!

You may be interested to check out this repos: 
* https://github.com/mtorromeo/kate-syntax-files
Comment 4 Christoph Cullmann 2012-07-05 15:24:52 UTC
If you sync your stuff with kate.git master, we can merge it.
Please update version numbers in .xml, too.
Comment 5 Christoph Cullmann 2012-10-24 14:33:11 UTC
Git commit 014dcec6d5679f3cbd30d5ee990b492274e3722c by Christoph Cullmann.
Committed on 24/10/2012 at 16:32.
Pushed by cullmann into branch 'master'.

add some highlighings,
the others did have checkdtd problems or clash with variants in our git

A  +653  -0    part/syntax/data/ccss.xml
A  +674  -0    part/syntax/data/less.xml
A  +255  -0    part/syntax/data/mako.xml
A  +59   -0    part/syntax/data/restructuredtext.xml
A  +332  -0    part/syntax/data/template-toolkit.xml

http://commits.kde.org/kate/014dcec6d5679f3cbd30d5ee990b492274e3722c
Comment 6 Christoph Cullmann 2012-10-24 14:35:42 UTC
Hi, could you look at the files I didn't commit, to either fix their checkdtd problems or merge them with our master variants? Then I would merge them, too!
Thanks for all your work!
Comment 7 Daniele Scasciafratte 2012-10-26 07:36:20 UTC
i have used the xml validator on kate and don't have find any problems...
Comment 8 Christoph Cullmann 2012-10-26 10:04:07 UTC
Just try the checkdtd script in the part/syntax/data folder.
Comment 9 Daniele Scasciafratte 2012-10-26 10:39:12 UTC
i don't find this package on debian repo XD
Comment 10 Christoph Cullmann 2012-10-26 10:45:53 UTC
Clone the kate.git, inside part/syntax/data, there is this small script.
Comment 11 Daniele Scasciafratte 2012-10-26 15:26:17 UTC
i have used checkdtd but not have found error :-)
Comment 12 Christoph Cullmann 2012-10-26 23:53:41 UTC
Than I need to retry ;) Perhaps I did something wrong ;)
Comment 13 Christoph Cullmann 2012-10-27 11:11:21 UTC
Git commit 77051227f34cb92a9c1da7fbad7ae7a37e17be6e by Christoph Cullmann.
Committed on 27/10/2012 at 13:10.
Pushed by cullmann into branch 'master'.

add haml HL
thanks to Mte90

A  +523  -0    part/syntax/data/haml.xml

http://commits.kde.org/kate/77051227f34cb92a9c1da7fbad7ae7a37e17be6e
Comment 14 Christoph Cullmann 2012-10-27 11:13:24 UTC
Git commit 475ad9551da98655f181f60d6f0bf86c8d8fa4e0 by Christoph Cullmann.
Committed on 27/10/2012 at 13:12.
Pushed by cullmann into branch 'master'.

update less + scss again
thanks to mte90

M  +816  -672  part/syntax/data/less.xml
M  +834  -701  part/syntax/data/scss.xml

http://commits.kde.org/kate/475ad9551da98655f181f60d6f0bf86c8d8fa4e0
Comment 15 Christoph Cullmann 2012-10-27 11:14:33 UTC
Git commit d0f9202cc84403c56302a3c09f497dddf34248fc by Christoph Cullmann.
Committed on 27/10/2012 at 13:14.
Pushed by cullmann into branch 'master'.

update CSS
thanks to mte90

M  +815  -699  part/syntax/data/css.xml

http://commits.kde.org/kate/d0f9202cc84403c56302a3c09f497dddf34248fc
Comment 16 Christoph Cullmann 2012-10-27 11:16:57 UTC
Sorry, I got confused and used the xml's from the other git.

* https://github.com/mtorromeo/kate-syntax-files

Now we use your ones that validate, all of

https://github.com/Mte90/Web-Syntax-Kate

is now in kate.git master.

If some stuff from 

 https://github.com/mtorromeo/kate-syntax-files

is missing, please inform me again.

Beside, would be nice to get such stuff as submissions via git directly, you can all get a KDE git account to do so, would be less confusing to have "one" place for the files inside our kate.git (and users will get the hl files via the update dialog)