Search code examples
sublimetext3word-wrap

Unable to set up word wrap in Sublime Text 3


I'm getting this error when trying to enable word wrap:

Error trying to parse settings: Unexpected character, expected a comma or closing bracket in Packages/User/Preferences.sublime-settings:3:13

This is the code in my Preferences.sublime-settings:

{
"ignored_packages":
"word_wrap": "true",

[
    "Vintage"
]
}

Solution

  • Try this:

    {
    "ignored_packages":
    [
        "Vintage"
    ],
    "word_wrap": true
    }
    

    I changed two things:

    1. Place "Vintage" inside the list of ignored packages.
    2. Removed the quotes around "true"in "word_wrap": "true".