Skip to content

Instantly share code, notes, and snippets.

@kryft
Last active August 29, 2015 14:07
Show Gist options
  • Save kryft/0b922450ee898fa33085 to your computer and use it in GitHub Desktop.
Save kryft/0b922450ee898fa33085 to your computer and use it in GitHub Desktop.
web-mode 20140927.1330 indentation for switch statements in .js files
//this is how the code gets indented in web-mode 20140927.1330 from melpa
eventStore.dispatchToken = dispatcher.register(function(payload) {
switch(payload.action.type) {
case actionTypes.REQUEST_EVENT_SUCCESS:
doSomething();
break;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment