-
For example this code: void main(void) {
gl_Position = p_matrix * mv_matrix * vec4(position, 1.0);
varying_color = vec4(position, 1.0) * 0.5 + vec4(0.5, 0.5, 0.5, 0.5);
} I'd like to change the indentation of the function body. However, |
Beta Was this translation helpful? Give feedback.
Answered by
CptPotato
Feb 5, 2025
Replies: 1 comment
-
You can select the inside of the function with braces using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
thezjy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can select the inside of the function with braces using
mif
and then reduce it to the fully selected lines with theshrink_to_line_bounds
command (should be Altx).