language-configuration.json 649 字节
Newer Older
E
Erich Gamma 已提交
1 2 3 4 5 6 7 8 9
{
	"comments": {
		"lineComment": "#",
		"blockComment": [ "=begin", "=end" ]
	},
	"brackets": [
		["{", "}"],
		["[", "]"],
		["(", ")"]
10 11 12 13 14 15 16 17 18 19 20 21 22 23
	],
	"autoClosingPairs": [
		["{", "}"],
		["[", "]"],
		["(", ")"],
		["\"", "\""],
		["'", "'"]
	],
	"surroundingPairs": [
		["{", "}"],
		["[", "]"],
		["(", ")"],
		["\"", "\""],
		["'", "'"]
24 25
	],
	"indentationRules": {
F
Faustino Aguilar 已提交
26 27
		"increaseIndentPattern": "^\\s*((begin|class|(private|protected)\\s+def|def|else|elsif|ensure|for|if|module|rescue|unless|until|when|while)|(.*\\sdo\\b))\\b[^\\{;]*$",
		"decreaseIndentPattern": "^\\s*([}\\]]([,)]?\\s*(#|$)|\\.[a-zA-Z_]\\w*\\b)|(end|rescue|ensure|else|elsif)\\b)"
28
	}
F
Faustino Aguilar 已提交
29
}