From 29063d2ebc9d06a77cbcff60b9daab2ab9a7b21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Thu, 3 Oct 2024 20:47:21 +0200 Subject: [PATCH] root: add .helix to .gitignore [helix] can use project specific configuration in the `.helix` directory under the project root. For GStreamer development, this can be used to: * point the lsp (clangd) to the folder where `compile_commands.json` is generated, * avoid automatic header insertion, * define gst-indent as the formatter (from the gstreamer/scripts dir). .helix/languages.toml: ```toml [language-server.clangd] args = [ "--compile-commands-dir=builddir", "--header-insertion=never", ] [[language]] name = "c" auto-format = true formatter = { command = "gst-indent", args = ["-st"] } ``` [helix]: https://helix-editor.com/ Part-of: --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 30f92df3ee..e9ca99e612 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ prefix/ .gdbinit # Editor/IDE spcific +.helix/ .vscode/ .vscode-server/