Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3 Word Wrap (set as default) no longer working

These are my sublime text custom settings:

{
    "auto_complete_triggers":
    [
        {
            "characters": ".",
            "selector": "source.js"
        }
    ],
    "auto_match_enabled": false,
    "color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
    "font_size": 10,
    "save_on_focus_lost": true,
    "auto_complete_commit_on_tab": true,
    "ignored_packages":
    [
        "Vintage"
    ],
    "word_wrap": true
}

As you can see word wrap is properly enabled. The only way to enable word - wrap is to do it on a per file basis, by going to View -> Word Wrap (tick). This setting was working fine a while ago. Now apparently something has happened and it's no longer working. Can't remember what it was, other than installing a plugin. Help.

like image 537
KeyC0de Avatar asked Nov 23 '17 22:11

KeyC0de


1 Answers

Found the answer. Should have searched more before i post this question, but anyway. Word wrap worked for some extensions but not for others (indeed few ones). So for the latter ones, i added the following:

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

into the custom settings of Preferences -> Settings - Syntax Specific

Now everything works.

like image 79
KeyC0de Avatar answered Sep 22 '22 00:09

KeyC0de