From d501e1ccda48f99d112a3c9e5cfdeac02e8e51d2 Mon Sep 17 00:00:00 2001 From: Frank Lanitz Date: Fri, 19 Aug 2011 10:07:26 +0000 Subject: [PATCH] Extend list of primary keywords for Cython. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Alexander Eberspächer. Thanks. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5892 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 2 ++ data/filetypes.Cython.conf | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4cf52a00d..3fd72e1a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * doc/plugins.dox: Update of wording to fix some grammatical issues etc. on plugin howto. Patch provided by Matthew Brush. Thanks. + * data/filetype_extensions.conf: + Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks. 2011-08-19 Colomban Wendling diff --git a/data/filetypes.Cython.conf b/data/filetypes.Cython.conf index 5248756da..5d8a14dbb 100644 --- a/data/filetypes.Cython.conf +++ b/data/filetypes.Cython.conf @@ -1,7 +1,7 @@ [styling=Python] [keywords] -primary=and as assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while with yield False None True api by cdef cimport cpdef ctypedef enum extern gil include inline nogil property public readonly struct union DEF IF ELIF ELSE NULL bint char Py_ssize_t short size_t void +primary=and as assert break class continue def del elif else except exec finally for from global if import in is lambda not or pass print raise return try while with yield False None True api by cdef cimport cpdef ctypedef enum extern gil include inline nogil property public readonly struct union DEF IF ELIF ELSE NULL bint char Py_ssize_t short size_t void double int real long complex identifiers=ArithmeticError AssertionError AttributeError BaseException BufferError BytesWarning DeprecationWarning EOFError Ellipsis EnvironmentError Exception False FloatingPointError FutureWarning GeneratorExit IOError ImportError ImportWarning IndentationError IndexError KeyError KeyboardInterrupt LookupError MemoryError NameError None NotImplemented NotImplementedError OSError OverflowError PendingDeprecationWarning ReferenceError RuntimeError RuntimeWarning StandardError StopIteration SyntaxError SyntaxWarning SystemError SystemExit TabError True TypeError UnboundLocalError UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UnicodeWarning UserWarning ValueError Warning ZeroDivisionError __debug__ __doc__ __import__ __name__ __package__ abs all any apply basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce compile complex copyright credits delattr dict dir divmod enumerate eval execfile exit file filter float format frozenset getattr globals hasattr hash help hex id input int intern isinstance issubclass iter len license list locals long map max min next object oct open ord pow print property quit range raw_input reduce reload repr reversed round set setattr slice sorted staticmethod str sum super tuple type unichr unicode vars xrange zip [settings]