Add new format configs for Rust and C/C++
This commit is contained in:
parent
c463142e5e
commit
774ab6f8b6
1 changed files with 36 additions and 0 deletions
|
@ -20,6 +20,18 @@ config = """
|
||||||
language-server = { command = "rust-analyzer" }
|
language-server = { command = "rust-analyzer" }
|
||||||
indent = { tab-width = 4, unit = " " }
|
indent = { tab-width = 4, unit = " " }
|
||||||
|
|
||||||
|
[language.debugger]
|
||||||
|
name = "lldb"
|
||||||
|
transport = "tcp"
|
||||||
|
command = "lldb-vscode"
|
||||||
|
args = []
|
||||||
|
port-arg = "-p {}"
|
||||||
|
|
||||||
|
[[language.debugger.templates]]
|
||||||
|
name = "binary"
|
||||||
|
request = "launch"
|
||||||
|
args = { console = "internalConsole", program = "target/debug/rustdebug" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "toml"
|
name = "toml"
|
||||||
scope = "source.toml"
|
scope = "source.toml"
|
||||||
|
@ -70,6 +82,18 @@ comment-token = "//"
|
||||||
language-server = { command = "clangd" }
|
language-server = { command = "clangd" }
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
|
||||||
|
[language.debugger]
|
||||||
|
name = "lldb"
|
||||||
|
transport = "tcp"
|
||||||
|
command = "lldb-vscode"
|
||||||
|
args = []
|
||||||
|
port-arg = "-p {}"
|
||||||
|
|
||||||
|
[[language.debugger.templates]]
|
||||||
|
name = "binary"
|
||||||
|
request = "launch"
|
||||||
|
args = { console = "internalConsole", program = "main" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "cpp"
|
name = "cpp"
|
||||||
scope = "source.cpp"
|
scope = "source.cpp"
|
||||||
|
@ -81,6 +105,18 @@ comment-token = "//"
|
||||||
language-server = { command = "clangd" }
|
language-server = { command = "clangd" }
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
|
||||||
|
[language.debugger]
|
||||||
|
name = "lldb"
|
||||||
|
transport = "tcp"
|
||||||
|
command = "lldb-vscode"
|
||||||
|
args = []
|
||||||
|
port-arg = "-p {}"
|
||||||
|
|
||||||
|
[[language.debugger.templates]]
|
||||||
|
name = "binary"
|
||||||
|
request = "launch"
|
||||||
|
args = { console = "internalConsole", program = "main" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "go"
|
name = "go"
|
||||||
scope = "source.go"
|
scope = "source.go"
|
||||||
|
|
Loading…
Reference in a new issue