Permalink
Browse files

Added LESS CSS support

  • Loading branch information...
1 parent 6d88db3 commit e1ada8b23a6db31a0f165fd18ccbab3fb16c7d85 @mdunhem mdunhem 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
@@ -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",
@@ -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 e1ada8b

Please sign in to comment.