annotate runtime/ftplugin/pyrex.vim @ 33649:88cad94caef9

runtime(doc): Fix typos in several documents (#13420) Commit: https://github.com/vim/vim/commit/5985879e3c36383155f84649fa42d06813a1893e Author: h_east <h.east.727@gmail.com> Date: Wed Oct 25 22:47:05 2023 +0900 runtime(doc): Fix typos in several documents (https://github.com/vim/vim/issues/13420) * Fix typos in several documents * Update runtime/doc/terminal.txt Co-authored-by: K.Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 25 Oct 2023 16:00:07 +0200
parents dd6c2497c997
children 8ae680be2a51
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
3526
dd6c2497c997 Fix more 'cpo' issues in runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
5 " Last Change: 2012 May 18
7
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
3526
dd6c2497c997 Fix more 'cpo' issues in runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
11 let s:keepcpo= &cpo
dd6c2497c997 Fix more 'cpo' issues in runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
12 set cpo&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " Behaves just like Python
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 runtime! ftplugin/python.vim ftplugin/python_*.vim ftplugin/python/*.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 if has("gui_win32") && exists("b:browsefilter")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 let b:browsefilter = "Pyrex files (*.pyx,*.pxd)\t*.pyx;*.pxd\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 \ "Python Files (*.py)\t*.py\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 \ "C Source Files (*.c)\t*.c\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 \ "C Header Files (*.h)\t*.h\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 \ "C++ Source Files (*.cpp *.c++)\t*.cpp;*.c++\n" .
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 \ "All Files (*.*)\t*.*\n"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 endif
3526
dd6c2497c997 Fix more 'cpo' issues in runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
25
dd6c2497c997 Fix more 'cpo' issues in runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
26 let &cpo = s:keepcpo
dd6c2497c997 Fix more 'cpo' issues in runtime files.
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
27 unlet s:keepcpo