-
Notifications
You must be signed in to change notification settings - Fork 1
Indenting for filetype dosbatch
vim-scripts/dosbatch-indent
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2631 I couldn't find an indent script for DOS batch files so I wrote a simple one. It just follows these rules: - generally keep the indent of the previous line - if previous line is not a comment and has ( and no matching ), increase indent - if this line starts with ), decrease indent I started by cutting down and modifying Erik Janssen's awk.vim.
About
Indenting for filetype dosbatch
Resources
Stars
Watchers
Forks
Packages 0
No packages published