detectindent
detectindent copied to clipboard
Vim script for automatically detecting indent settings
Move applying indent settings into a single function to ensure we set them consistently. Currently, there's some variance between which settings are applied. This ensures we always set values consistently....
You had a comment that `&comments aren't reliable`, so I'm not sure if you want this feature. If you are interested in merging, then let me know and I'll do...
Anything between should be ignored when determining indentation. /\* */ blocks should also be ignored in JavaScript files. For example, a file starting with the following contents ``` html function...
Buffer-local values were introduced and their existence was checked, however they were never actually used. This PR fixes this. Now if you want linux sources (which typically only contain tabs...
In case of mixed indent (this happens in some of my source files with tab indent and multiline strings containing spaces) I don't want to switch to mixed indent which...
This PR adds CSS to the list of languages with C style syntax. Fixes Issue #14
CSS has C-style block comments `/* ... */` only.
Scala supports c-style comments as well so I added it to the list, and made the list run vertically so it is easier to add more later without making the...