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 8if exists("b:did_ftplugin") 9 finish 10endif 11 12" Behaves just like Python 13runtime! ftplugin/python.vim ftplugin/python_*.vim ftplugin/python/*.vim 14 15if 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" 22endif 23