mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-05 19:32:57 -06:00
Disable matchBrackets in monaco (#36089)
This one may be a bit opinionated but I prefer my editors to be clean of distractions and these bracket highlights look too much like a cursor on quick glance imho. Before: <img width="345" height="67" alt="Screenshot 2025-12-04 at 20 26 14" src="https://github.com/user-attachments/assets/10b2ea19-4468-401b-9425-1caa1b64afe4" /> After: <img width="319" height="69" alt="Screenshot 2025-12-04 at 20 26 25" src="https://github.com/user-attachments/assets/edbd3291-965d-421f-85cf-8d927b2a323a" />
This commit is contained in:
@@ -41,6 +41,7 @@ const baseOptions: MonacoOpts = {
|
||||
wrappingIndent: 'none',
|
||||
wordWrapBreakAfterCharacters: '',
|
||||
wordWrapBreakBeforeCharacters: '',
|
||||
matchBrackets: 'never',
|
||||
};
|
||||
|
||||
function getEditorconfig(input: HTMLInputElement): EditorConfig | null {
|
||||
|
||||
Reference in New Issue
Block a user