From e76c5133ff82c831924b3ad85bd0b6d81b6181ba Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:31:31 -0500 Subject: [PATCH] helix rust debugger config --- .config/helix/config.toml | 2 ++ .config/helix/languages.toml | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/.config/helix/config.toml b/.config/helix/config.toml index 5dd45c4..8e0ba49 100644 --- a/.config/helix/config.toml +++ b/.config/helix/config.toml @@ -3,6 +3,8 @@ theme = "ferra" [editor] scrolloff = 3 idle-timeout = 150 +terminal.command = "zsh" +terminal.args = ["-c"] [editor.statusline] center = ["version-control"] diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index b7280d4..77eea85 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -1,2 +1,19 @@ [[language]] name = "rust" + +[language.debugger] +command = "codelldb" +name = "codelldb" +port-arg = "--port {}" +transport = "tcp" + +[[language.debugger.templates]] +name = "binary" +request = "launch" +[[language.debugger.templates.completion]] +completion = "filename" +name = "binary" + +[language.debugger.templates.args] +program = "{0}" +runInTerminal = true \ No newline at end of file