jarod2d / sublime_valign

Vertical alignment plugin for Sublime Text 2 and 3
91 stars 7 forks source link

Can't align with some C code #36

Open loggerhead opened 9 years ago

loggerhead commented 9 years ago
    json_var_key_map jmaps[] = {
// Begin from here
        { &email,   "email",   json_type_string },
        { &session, "session", json_type_string },
        { &fileid,  "fileid",  json_type_string },
        { &key,     "key",     json_type_string },
        { &encrypt_type,     "encrypt_type",     json_type_string },
// End 
        _JSON_VAR_KEY_MAP_GUARD_
    };
jarod2d commented 9 years ago

VAlign isn't currently designed to perform this kind of alignment. I'm not opposed to it being added if it can be done in a generic, non-language-specific way, but I think that would be a fairly complex problem with lots of edge cases, and I don't currently have time to look into it. Sorry!