python_encoding.vim : Recognize python source file encoding directive(PEP 0263)
| script karma |
Rating 6/8,
Downloaded by 965 |
Comments, bugs, improvements
|
Vim wiki
|
| created by |
| Sangpil Yoon |
| |
| script type |
| ftplugin |
| |
| description |
A newly added feature of python 2.3 is PEP 0263(http://www.python.org/peps/pep-0263.html). Now you can add a magic comment that defines the encoding of the source file. This script recognizes this directive and changes Vim's encoding accordingly.
|
| |
| install details |
| Just put it in your ftplugin directory. |
| |
script versions (upload new version)
Click on the package to download.
ip used for rating: 216.73.216.130
|