Use this page to discuss script 127 runscript: run Python scripts
- Add constructive comments, bug reports, or discuss improvements (see the guideline).
- Do not document the script here (the author should do that on vim.org).
- This page may be out of date: check the script's vim.org page above, and its release notes.
Fix for Linux[]
The current (September 2011) version of the script does not work on Unix-based systems because it uses CRLF line endings (DOS file format) which cause errors like E492: Not an editor command: ^M
.
To fix, unzip the script and use the advice at file format (or use dos2unix
) to fix the line endings.