дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
.odin files open as Odin: highlighting from tree-sitter-odin, a Structure view from a new outline query (every name of a multi-name field listed), and OLS as the language server, installable from Language Servers settings. OLS release archives name the program after the platform (ols-x86_64-pc-windows-msvc.exe), so the installer also locates ols-*. Co-authored-by: christerso <[email protected]>
21 рядки
532 B
TOML
21 рядки
532 B
TOML
id = "odin"
|
||
name = "Odin"
|
||
extensions = ["odin"]
|
||
line-comment = "//"
|
||
block-comment = ["/*", "*/"]
|
||
indent = { tab-size = 4, insert-spaces = false }
|
||
tree-sitter = "odin"
|
||
|
||
[[language-servers]]
|
||
name = "ols"
|
||
command = "ols"
|
||
root-markers = ["ols.json", "odinfmt.json"]
|
||
install-hint = "Install OLS (https://github.com/DanielGavin/ols/releases)"
|
||
|
||
[debugger]
|
||
adapter = "codelldb"
|
||
command = "codelldb"
|
||
args = ["--port", "${port}"]
|
||
transport = "tcp"
|
||
install-hint = "Install CodeLLDB in Settings › Languages & Frameworks › Language Servers"
|