You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-core
François Laignel c718cf4bd3 helix-view: optionally bypass indent style auto detection
Some code formatting styles are too challenging for the indent style auto
detection heuristic.

The indent style for C code in [GStreamer] should use 2 spaces, but auto
detection leads to the followings being used:

* [gst.c] -> 2 spaces.
* [gstrtsp.c] -> 1 space.
* [gstrtspsrc.c] -> 4 spaces.

This commit adds the language configuration flag `auto-detect-indent` which
defaults to `true`. When set to `false`, it bypasses auto detection, always
using language defined indent style or `DEFAULT_INDENT` in last resort.

[GStreamer]: https://gitlab.freedesktop.org/gstreamer/gstreamer
[gst.c]: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gstreamer/gst/gst.c
[gstrtsp.c]: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-plugins-good/gst/rtsp/gstrtsp.c
[gstrtspsrc.c]: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c
1 month ago
..
src helix-view: optionally bypass indent style auto detection 1 month ago
tests Resolve new Clippy lints 7 months ago
.gitignore Initial import. 5 years ago
Cargo.toml build(deps): bump the rust-dependencies group with 5 updates (#11805) 2 months ago