Commit d648f371d55256879ef8a7f9e23702e58d8b06af

Avi Aryan 2014-07-10T13:51:29

added Ini highlighting

diff --git a/components.js b/components.js
index b933be7..0c3321b 100644
--- a/components.js
+++ b/components.js
@@ -165,6 +165,10 @@ var components = {
 		"autohotkey": {
 			"title": "AutoHotkey",
 			"owner": "aviaryan"
+		},
+		"ini": {
+			"title": "Ini",
+			"owner": "aviaryan"
 		}
 	},
 	"plugins": {
diff --git a/components/prism-ini.js b/components/prism-ini.js
new file mode 100644
index 0000000..9288385
--- /dev/null
+++ b/components/prism-ini.js
@@ -0,0 +1,6 @@
+// by Avi Aryan (http://aviaryan.github.io)
+Prism.languages.ini= {
+	'comment': /^\s*;.*$/gm,
+	'selector': /\[.*?\]/gm,
+	'keyword': /^.+?(?=\=)/gm
+};
\ No newline at end of file