|
|
@ -2052,6 +2052,29 @@ block-comment-tokens = { start = "/*", end = "*/" }
|
|
|
|
indent = { tab-width = 4, unit = "\t" }
|
|
|
|
indent = { tab-width = 4, unit = "\t" }
|
|
|
|
formatter = { command = "odinfmt", args = [ "-stdin", "true" ] }
|
|
|
|
formatter = { command = "odinfmt", args = [ "-stdin", "true" ] }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[language.debugger]
|
|
|
|
|
|
|
|
name = "lldb-dap"
|
|
|
|
|
|
|
|
transport = "stdio"
|
|
|
|
|
|
|
|
command = "lldb-dap"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language.debugger.templates]]
|
|
|
|
|
|
|
|
name = "binary"
|
|
|
|
|
|
|
|
request = "launch"
|
|
|
|
|
|
|
|
completion = [ { name = "binary", completion = "filename" } ]
|
|
|
|
|
|
|
|
args = { console = "internalConsole", program = "{0}" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language.debugger.templates]]
|
|
|
|
|
|
|
|
name = "attach"
|
|
|
|
|
|
|
|
request = "attach"
|
|
|
|
|
|
|
|
completion = [ "pid" ]
|
|
|
|
|
|
|
|
args = { console = "internalConsole", pid = "{0}" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[language.debugger.templates]]
|
|
|
|
|
|
|
|
name = "gdbserver attach"
|
|
|
|
|
|
|
|
request = "attach"
|
|
|
|
|
|
|
|
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
|
|
|
|
|
|
|
args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
|
|
|
|
|
|
|
|
|
|
|
[[grammar]]
|
|
|
|
[[grammar]]
|
|
|
|
name = "odin"
|
|
|
|
name = "odin"
|
|
|
|
source = { git = "https://github.com/ap29600/tree-sitter-odin", rev = "b219207e49ffca2952529d33e94ed63b1b75c4f1" }
|
|
|
|
source = { git = "https://github.com/ap29600/tree-sitter-odin", rev = "b219207e49ffca2952529d33e94ed63b1b75c4f1" }
|
|
|
|