matchindent.vim : Match indentation style
script karma |
Rating 1/1,
Downloaded by 973 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Conor McDermottroe |
|
script type |
utility |
|
description |
Some people like tabs, some like spaces. Very few people like it when you edit their stuff and use a different method of indentation.
This plugin scans through a file when it's opened and attempts to guess which style of indentation is being used. It then overrides your preferences so that you match the style of the file.
Currently it only detects the three most common styles of indentation, tabs, 2 spaces and 4 spaces. Patches to make this plugin more general are welcomed.
The most up to date version of this script is available at https://github.com/conormcd/matchindent.vim |
|
install details |
Drop the included matchindent.vim into your .vim/plugin directory or use Pathogen. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|