From 774ab6f8b62d825791f023ee5f7c8304a95de75a Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Tue, 24 Aug 2021 12:01:05 +0300 Subject: [PATCH] Add new format configs for Rust and C/C++ --- languages.toml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/languages.toml b/languages.toml index c9b8987b9..266af55f1 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"