Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Vim script for automatically detecting indent settings
branch: master

Merge pull request #19 from tom95/vala-comments

Add vala to list of C style languages
latest commit d33f85eb81
Ciaran McCreesh authored

A Vim plugin, for automatically detecting indent settings. This plugin adds a :DetectIndent command, which tries to intelligently set the 'shiftwidth', 'expandtab' and 'tabstop' options based upon the existing settings in use in the active file.

You may wish to consider one of the many forks of this project. Be aware that some of these forks have merged patches that I have been ignoring for good reasons, and that long lists of special cases are not necessarily a good idea...

Something went wrong with that request. Please try again.