Files
nx_post_support/language-configuration.json

36 lines
1010 B
JSON

{
"comments": {
// symbol used for single line comment. Remove this entry if your language does not support line comments
"lineComment": "#"
},
"indentationRules": {
// Ignore pure comment lines so they don't terminate folds inside Tcl brace blocks.
"unIndentedLinePattern": "^\\s*#.*$",
// Opening braces on their own line are common in NX Tcl.
"increaseIndentPattern": "^((?!#).)*(\\{[^}\"']*)$",
"decreaseIndentPattern": "^\\s*[\\}\\]\\)].*$"
},
// symbols used as brackets
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
// symbols that are auto closed when typing
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
],
// symbols that can be used to surround a selection
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["\"", "\""],
["'", "'"]
]
}