Sublime Forum

How to disable the red background on syntax errors?

#1

0 Likes

#2

It looks like you’re using the Mariana color scheme. You can override this, see also the docs: https://www.sublimetext.com/docs/3/color_schemes.html (the section “Customization”).

In Packages/User create a file Mariana.sublime-color-scheme with the following contents:

{
	"rules": [
		{
			"name": "Invalid",
			"scope": "invalid",
			"background": "var(blue3)"
		}
	]
}
0 Likes

#3

Thanks, actually i’m using Spacegray/base16-ocean.dark.tmTheme, but I found the invalid key and commented it out

0 Likes