Sublime Forum

Expected value error

#1

Hey looked online and found a bunch of similar articles and “expected value” errors but none pertaining to my setup
error is on 1:1 (only line), here’s what’s in the “Base File.sublime-settings”, what does this need to be changed to?

align_indent: true
0 Likes

#2
  1. The files should be wrapped in {…}
  2. You shouldn’t be editing “Base File.sublime-settings.” All your changes should be in “User/Preferences.sublime-settings”
  3. I don’t thing align_indent is a valid command but I could be wrong.
0 Likes

#3

wrapping them in {align_indent: true} error’s still but this time with 1:2

0 Likes

#4

The key needs to be a json string. Try {“align_indent”: true}.

Also “Base File.sublime-settings” has retired and is now “Preferences.sublime-settings”, so you might have to change that file instead.

0 Likes

#5

[quote=“quarnster”]The key needs to be a json string. Try {“align_indent”: true}.

Also “Base File.sublime-settings” has retired and is now “Preferences.sublime-settings”, so you might have to change that file instead.[/quote]

that did it, odd that align_indent isn’t in my Pref’s file, I don’t actually remember editing this file but thanks for the help

0 Likes