mirror of
https://github.com/open-goal/opengoal-vscode.git
synced 2024-10-19 20:47:37 -04:00
languages: additions to syntax configs found during lsp work
This commit is contained in:
parent
20a60e039b
commit
4ef96d531a
|
@ -137,7 +137,7 @@
|
|||
"light": "./icons/opengoal-goos.png",
|
||||
"dark": "./icons/opengoal-goos.png"
|
||||
},
|
||||
"configuration": "./language-configuration.json"
|
||||
"configuration": "./syntaxes/configs/opengoal-goos.jsonc"
|
||||
},
|
||||
{
|
||||
"id": "opengoal-ir",
|
||||
|
@ -152,7 +152,7 @@
|
|||
"light": "./icons/opengoal-ir.png",
|
||||
"dark": "./icons/opengoal-ir.png"
|
||||
},
|
||||
"configuration": "./syntaxes/configs/ir.jsonc"
|
||||
"configuration": "./syntaxes/configs/opengoal-ir.jsonc"
|
||||
}
|
||||
],
|
||||
"grammars": [
|
||||
|
|
32
syntaxes/configs/opengoal-goos.jsonc
Normal file
32
syntaxes/configs/opengoal-goos.jsonc
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"comments": {
|
||||
"lineComment": ";;",
|
||||
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
|
||||
"blockComment": ["#|", "|#"]
|
||||
},
|
||||
// symbols used as brackets
|
||||
"brackets": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"]
|
||||
],
|
||||
// symbols that are auto closed when typing
|
||||
"autoClosingPairs": [
|
||||
["(", ")"],
|
||||
["\"", "\""]
|
||||
],
|
||||
// symbols that can be used to surround a selection
|
||||
"surroundingPairs": [
|
||||
["{", "}"],
|
||||
["[", "]"],
|
||||
["(", ")"],
|
||||
["\"", "\""]
|
||||
],
|
||||
"folding": {
|
||||
"markers": {
|
||||
"start": "\\(\\s*$",
|
||||
"end": "^\\s*\\)"
|
||||
}
|
||||
},
|
||||
"wordPattern": "[^\\s,\\(\\)]+"
|
||||
}
|
|
@ -14,5 +14,6 @@
|
|||
"start": "^; \\.function.*",
|
||||
"end": "^;; \\.endfunction\\b"
|
||||
}
|
||||
}
|
||||
},
|
||||
"wordPattern": "[^\\s,\\(\\)]+"
|
||||
}
|
|
@ -27,5 +27,6 @@
|
|||
"start": "\\(\\s*$",
|
||||
"end": "^\\s*\\)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"wordPattern": "[^\\s,\\(\\)]+"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue