Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rainbow brackets make writing code in Linux a mess. How to turn off this feature? #2111

Closed
jaco00 opened this issue Jan 25, 2024 · 8 comments

Comments

@jaco00
Copy link

jaco00 commented Jan 25, 2024

If you use vim to open the code, the unmatched brackets in the current screen are marked in red. We all know that the code cannot be completely displayed on one screen, so the brackets on the current screen cannot match perfect。The key thing is that If you see red brackets in your code, it might be indicating a syntax error or a problem that the compiler has identified.
Untitled

@jaco00
Copy link
Author

jaco00 commented Jan 25, 2024

I removed the relevant configuration from scheme.theme so it looks correct now.In fact, the editor already has similar functions, which will conflict with the terminal.

@jaco00
Copy link
Author

jaco00 commented Apr 3, 2024

#2111 (comment)

@jaco00, https://github.com/kingToolbox/WindTerm/releases/tag/2.7-prerelease#:~:text=%5Bgui%5D%20disables%20rainbow%20brackets%20on%20the%20alt%20screen%20to%20avoid%20conflicts%20with%20features%20in%20editors%20like%20vim.%20%232111 appears to state that this has been remediated.

I've seen the updates,This makes things much more convenient now, thank you!

@RokeJulianLockhart

This comment was marked as resolved.

@kingToolbox
Copy link
Owner

@RokeJulianLockhart
Thank you very much.

@jaco00
Great to hear that it seems to be working well so far, that's really fantastic. I originally thought about making it an option, but in the end, I still felt that completely disabling it was simpler and more straightforward. Of course, if I weren't traveling the whole time, I would have directly sought your advice.

This issue will be closed. If you have any other questions, feel free to reach out at any time. Thank you.

@jaco00
Copy link
Author

jaco00 commented Apr 3, 2024

is it worth closing this consequently
Sure thing

@RokeJulianLockhart

This comment was marked as outdated.

@kingToolbox
Copy link
Owner

@RokeJulianLockhart
It's my fault for not explaining clearly. What's being canceled is only the rainbow brackets in the alternative screen, such as vi, etc. The main screen is not affected, which means you will still see rainbow brackets when you are entering command lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants