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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7612>
This commit is contained in:
François Laignel 2024-10-03 20:47:21 +02:00 committed by GStreamer Marge Bot
parent 067fe7b9bc
commit 29063d2ebc

1
.gitignore vendored
View file

@ -6,6 +6,7 @@ prefix/
.gdbinit
# Editor/IDE spcific
.helix/
.vscode/
.vscode-server/