Compiler in Rust (lexer, parser, checker, C codegen), maps, chars, dino fmt, dino lsp (diagnostics, formatting, outline, definition, hover, completion, signature help), docs, examples, VS Code/Vim files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
20 lines
714 B
JSON
20 lines
714 B
JSON
{
|
|
"comments": { "lineComment": "//", "blockComment": ["/*", "*/"] },
|
|
"brackets": [["{", "}"], ["[", "]"], ["(", ")"]],
|
|
"autoClosingPairs": [
|
|
{ "open": "{", "close": "}" },
|
|
{ "open": "[", "close": "]" },
|
|
{ "open": "(", "close": ")" },
|
|
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
|
|
],
|
|
"surroundingPairs": [["{", "}"], ["[", "]"], ["(", ")"], ["\"", "\""], ["'", "'"]],
|
|
"indentationRules": {
|
|
"increaseIndentPattern": "[\\{\\[\\(]\\s*(//.*)?$",
|
|
"decreaseIndentPattern": "^\\s*[\\}\\]\\)]"
|
|
},
|
|
"onEnterRules": [
|
|
{ "beforeText": "^\\s*//.*$", "action": { "indent": "none", "appendText": "// " } }
|
|
]
|
|
}
|