From 91d65c30c4e768040b054d465b480f5276e6e47a Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Sat, 27 Jan 2024 13:05:51 +0100 Subject: [PATCH] helix: Added rust codelldb debugger config Currently not working that well... --- editor/helix/languages.toml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/editor/helix/languages.toml b/editor/helix/languages.toml index 9db2d67..909db30 100644 --- a/editor/helix/languages.toml +++ b/editor/helix/languages.toml @@ -1,3 +1,23 @@ +[[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 = false + [[language]] name = "python" roots = ["pyproject.toml", "setup.py", "Poetry.lock", ".git"]