Browse files

Merge pull request #1688 from mdunhem/master

Added LESS CSS support
  • Loading branch information...
2 parents 6d88db3 + e1ada8b commit 1aacf410c20658d02b10cd66fc41a675b6a5376c Zef Hemel committed Jun 9, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −1 plugins-client/ext.code/code.js
  2. +1 −0 plugins-client/ext.code/code.xml
View
4 plugins-client/ext.code/code.js
@@ -50,6 +50,7 @@ var ModesCaption = {
"JavaScript" : "application/javascript",
"Latex" : "application/x-latex",
"Script" : "text/x-script",
+ "Less" : "text/x-less",
"Lua" : "text/x-lua",
"Markdown" : "text/x-markdown",
"OCaml" : "text/x-script.ocaml",
@@ -71,6 +72,7 @@ var SupportedModes = {
"application/javascript": "javascript",
"application/json": "json",
"text/css": "css",
+ "text/x-less": "less",
"text/x-scss": "scss",
"text/html": "html",
"application/xhtml+xml": "html",
@@ -110,7 +112,7 @@ var contentTypes = {
"js": "application/javascript",
"json": "application/json",
"css": "text/css",
- "less": "text/css",
+ "less": "text/x-less",
"scss": "text/x-scss",
"sass": "text/x-sass",
View
1 plugins-client/ext.code/code.xml
@@ -65,6 +65,7 @@
<a:item type="radio" value="application/javascript">JavaScript</a:item>
<a:item type="radio" value="application/x-latex">Latex</a:item>
<a:item type="radio" value="application/x-sh">Shell Script</a:item>
+ <a:item type="radio" value="text/x-less">LESS</a:item>
<a:item type="radio" value="text/x-lua">Lua</a:item>
<a:item type="radio" value="text/x-markdown">Markdown</a:item>
<a:item type="radio" value="text/x-script.ocaml">OCaml</a:item>

0 comments on commit 1aacf41

Please sign in to comment.