3 ms·
FYI: You can take over the indent hooks to make them do whatever you want, in the major programming modes. For a while in js2-mode, I had my own indent hook to
by _asummers 10y ago
FYI: You can take over the indent hooks to make them do whatever you want, in the major programming modes. For a while in js2-mode, I had my own indent hook to get around something it was doing weirdly. More importantly you can of course rebind or unbind tab (or all indent functions!) to your heart's content. Through a combo of custom indent functions and .dir-locals.el files in each project, I've been able to navigate between space/tabs projects with different indent styles.