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 | |
---|---|---|
.. | ||
annotations | 4 months ago | |
handlers | 3 months ago | |
annotations.rs | 4 months ago | |
base64.rs | 2 years ago | |
clipboard.rs | 7 months ago | |
document.rs | 1 month ago | |
editor.rs | 2 months ago | |
events.rs | 4 months ago | |
graphics.rs | 6 months ago | |
gutter.rs | 7 months ago | |
handlers.rs | 4 months ago | |
info.rs | 1 year ago | |
input.rs | 11 months ago | |
keyboard.rs | 2 years ago | |
lib.rs | 4 months ago | |
macros.rs | 2 years ago | |
register.rs | 4 months ago | |
theme.rs | 2 months ago | |
tree.rs | 7 months ago | |
view.rs | 4 months ago |