vim.vim : indentation for vim script with support for embedded scripting language
| script karma
Downloaded by 1145
Comments, bugs, improvements
script versions (upload new version)
|This script is for those of us who uses embedded scripting language in the here document form.
see :help perl, :help ruby, :help python, :help tcl
if you embed a script in vim using the
#some perl code
or equivalent for other script languages, the scripts won't be correctly indented.
Worse, if you write some python this way and reindent your file the whole script is trashed since
the indentation was meaningfull and it is lost.
This scripts add support for indenting the embedded script.
Please mail me any problems you encounter with this script
|just put this script in an indent subdirectory somewhere in the runtimepath (:help runtimepath).
The runtime directory where you put it must be BEFORE the standard vim runtime directory, this
allows this script to use the regular indent/vim.vim script for the non embedded part.
default runtimepath on unix:
the script must be copied in $HOME/.vim/indent
or in $VIM/vimfiles
Click on the package to download.
ip used for rating: 18.104.22.168