languages/latex.json

Mon, 11 May 2020 17:50:17 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 11 May 2020 17:50:17 -0500
changeset 0
aa9fc390ce91
permissions
-rw-r--r--

Initial version.

{
	"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