annotate runtime/ftplugin/pyrex.vim @ 3030:07bc2ccfe555 v7.3.287

updated for version 7.3.287 Problem: Can't compile with MSVC and tiny options. Solution: Move variables and #ifdefs. (Sergey Khorev)
author Bram Moolenaar <bram@vim.org>
date Sat, 27 Aug 2011 15:10:04 +0200
parents 3fc0f57ecb91
children dd6c2497c997
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: Pyrex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Marco Barisione <marco.bari@people.it>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " URL: http://marcobari.altervista.org/pyrex_vim.html
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Last Change: 2004 May 16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Only do this when not done yet for this buffer
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 if exists("b:did_ftplugin")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " Behaves just like Python
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 runtime! ftplugin/python.vim ftplugin/python_*.vim ftplugin/python/*.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 if has("gui_win32") && exists("b:browsefilter")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 let b:browsefilter = "Pyrex files (*.pyx,*.pxd)\t*.pyx;*.pxd\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 \ "Python Files (*.py)\t*.py\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 \ "C Source Files (*.c)\t*.c\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 \ "C Header Files (*.h)\t*.h\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 \ "C++ Source Files (*.cpp *.c++)\t*.cpp;*.c++\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 \ "All Files (*.*)\t*.*\n"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 endif