Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | " Vim filetype plugin file |
| 2 | " Language: Pyrex |
| 3 | " Maintainer: Marco Barisione <marco.bari@people.it> |
| 4 | " URL: http://marcobari.altervista.org/pyrex_vim.html |
| 5 | " Last Change: 2004 May 16 |
| 6 | |
| 7 | " Only do this when not done yet for this buffer |
| 8 | if exists("b:did_ftplugin") |
| 9 | finish |
| 10 | endif |
| 11 | |
| 12 | " Behaves just like Python |
| 13 | runtime! ftplugin/python.vim ftplugin/python_*.vim ftplugin/python/*.vim |
| 14 | |
| 15 | if has("gui_win32") && exists("b:browsefilter") |
| 16 | let b:browsefilter = "Pyrex files (*.pyx,*.pxd)\t*.pyx;*.pxd\n" . |
| 17 | \ "Python Files (*.py)\t*.py\n" . |
| 18 | \ "C Source Files (*.c)\t*.c\n" . |
| 19 | \ "C Header Files (*.h)\t*.h\n" . |
| 20 | \ "C++ Source Files (*.cpp *.c++)\t*.cpp;*.c++\n" . |
| 21 | \ "All Files (*.*)\t*.*\n" |
| 22 | endif |