Last active
February 5, 2025 07:30
-
-
Save shikaan/96f186b8a2cec52f906ce500fd57eed8 to your computer and use it in GitHub Desktop.
helix configuration for C debugging on Apple Silicon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[language]] | |
name = "c" | |
scope = "source.c" | |
injection-regex = "c" | |
file-types = ["c"] # TODO: ["h"] | |
comment-token = "//" | |
block-comment-tokens = { start = "/*", end = "*/" } | |
language-servers = [ "clangd" ] | |
indent = { tab-width = 2, unit = " " } | |
[language.debugger] | |
name = "lldb-dap" | |
transport = "stdio" | |
command = "arch" | |
args = [ "-arm64", "lldb-dap" ] | |
[[language.debugger.templates]] | |
name = "binary" | |
request = "launch" | |
completion = [ { name = "binary", completion = "filename" } ] | |
args = { console = "internalConsole", program = "{0}" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment