mirror of https://github.com/helix-editor/helix
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.
c718cf4bd3
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 | 1 month ago | |
tests/encoding | 3 years ago | |
Cargo.toml | 2 months ago |