Please sign in to comment.
Solving the 'mixed tabs & spaces' warnings, by setting the codemirror…
… settings more the way they used to be. Backstory: in CM 2.2, the handling of tabs changed. The setting 'tabMode' does no longer do anything, and by default, codemirror uses a tab for indentation. That is why the warnings 'mixed tabs and spaces' starts to show up from JSHint. Now, there is no good way of disabling those warnings currently, and i find having modified versions of libraries in the source rather awkward. This commit restores the behavior of CodeMirror (to only use spaces for indentation) back to the way it used to be before the CodeMirror upgrade. I also tried to consider users with their own settings files, who modified the tabMode option.
- Loading branch information...