Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
pyrex.vim33 linesDownload Raw Back to ftplugin
1" Vim filetype plugin file2" Language:	Pyrex3" Maintainer:	Marco Barisione <marco.bari@people.it>4" URL:		http://marcobari.altervista.org/pyrex_vim.html5" Last Change:	2012 May 186"		2024 Jan 14 by Vim Project (browsefilter)7 8" Only do this when not done yet for this buffer9if exists("b:did_ftplugin")10  finish11endif12let s:keepcpo= &cpo13set cpo&vim14 15" Behaves just like Python16runtime! ftplugin/python.vim ftplugin/python_*.vim ftplugin/python/*.vim17 18if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")19    let  b:browsefilter = "Pyrex files (*.pyx, *.pxd)\t*.pyx;*.pxd\n" .20			\ "Python Files (*.py)\t*.py\n" .21			\ "C Source Files (*.c)\t*.c\n" .22			\ "C Header Files (*.h)\t*.h\n" .23			\ "C++ Source Files (*.cpp, *.c++)\t*.cpp;*.c++\n"24    if has("win32")25	let b:browsefilter .= "All Files (*.*)\t*\n"26    else27	let b:browsefilter .= "All Files (*)\t*\n"28    endif29endif30 31let &cpo = s:keepcpo32unlet s:keepcpo33 
codekingpro/portable-devtools · Team Ai