languages/tex.json

changeset 0
aa9fc390ce91
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/languages/tex.json	Mon May 11 17:50:17 2020 -0500
@@ -0,0 +1,38 @@
+{
+	"comments": {
+		"lineComment": "%"
+	},
+	"brackets": [
+		["{", "}"],
+		["[", "]"],
+		["(", ")"],
+		["\\left", "\\right"]
+	],
+	"autoClosingPairs": [
+		["{", "}"],
+		["[", "]"],
+		["(", ")"],
+		["`", "'"]
+	],
+	"surroundingPairs": [
+		["{", "}"],
+		["[", "]"],
+		["(", ")"],
+		["\"", "\""],
+		["'", "'"],
+		["`", "'"],
+		["$", "$"]
+	],
+	"indentationRules": {
+		"increaseIndentPattern": "(\\\\begin{(?!document))",
+		"decreaseIndentPattern": "(\\\\end{(?!document))"
+	},
+	"folding": {
+		"markers": {
+			"start": "^\\s*%\\s*#?region\\b.*",
+			"end": "^\\s*%\\s*#?endregion\\b.*"
+		}
+	},
+	"autoCloseBefore": ";:.,=}])>\\` \n\t$",
+	"wordPattern": "(__)|(\\*\\*)|(@.)|(\\.\\.\\.)|([^\\s`'\"~_!?|$#@%^&*\\-=+;:,.<>(){}[\\]\\\\\\/]{2,})"
+}

mercurial