diff options
author | Dmitry Sharshakov | 2021-08-24 09:01:05 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-24 09:01:05 +0000 |
commit | 774ab6f8b62d825791f023ee5f7c8304a95de75a (patch) | |
tree | 6b9c2254a147b5ce6e8ee5e222850ff90512f54e /languages.toml | |
parent | c463142e5e43fa83fc5f8f714af72425d18ba216 (diff) |
Add new format configs for Rust and C/C++
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index c9b8987b..266af55f 100644 --- a/languages.toml +++ b/languages.toml @@ -20,6 +20,18 @@ config = """ language-server = { command = "rust-analyzer" } 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]] name = "toml" scope = "source.toml" @@ -70,6 +82,18 @@ comment-token = "//" language-server = { command = "clangd" } 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]] name = "cpp" scope = "source.cpp" @@ -81,6 +105,18 @@ comment-token = "//" language-server = { command = "clangd" } 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]] name = "go" scope = "source.go" |