1 # For complete documentation of this file, please see Geany's main documentation
3 # Edit these in the colorscheme .conf file instead
5 commentline
=comment_line
15 identifier
=identifier_1
23 ftripledouble
=string_2
24 attribute
=identifier_1
27 # all items must be in one line
28 # both primary and identifiers are auto-generated by scripts/update-python-identifiers.sh
30 primary
=False None True _
and as assert async await break case
class continue def del elif else except finally for from global if import in is lambda match nonlocal
not or pass raise return try while with
yield
31 # additional keywords, will be highlighted with style "word2"
32 # Python 3 builtins (minus ones in primary)
33 identifiers
=ArithmeticError AssertionError AttributeError BaseException BlockingIOError BrokenPipeError BufferError BytesWarning ChildProcessError ConnectionAbortedError ConnectionError ConnectionRefusedError ConnectionResetError
DeprecationWarning EOFError Ellipsis EncodingWarning
EnvironmentError Exception FileExistsError FileNotFoundError
FloatingPointError FutureWarning GeneratorExit
IOError ImportError ImportWarning
IndentationError IndexError InterruptedError IsADirectoryError
KeyError KeyboardInterrupt LookupError MemoryError ModuleNotFoundError
NameError NotADirectoryError
NotImplemented NotImplementedError OSError OverflowError PendingDeprecationWarning PermissionError ProcessLookupError RecursionError
ReferenceError ResourceWarning
RuntimeError RuntimeWarning StopAsyncIteration
StopIteration SyntaxError SyntaxWarning SystemError SystemExit TabError TimeoutError
TypeError UnboundLocalError UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UnicodeWarning
UserWarning ValueError Warning ZeroDivisionError __build_class__ __debug__ __doc__
__import__ __loader__ __name__ __package__ __spec__
abs aiter all anext any ascii bin
bool breakpoint bytearray bytes
callable chr classmethod compile complex copyright credits
delattr dict dir divmod enumerate eval exec exit
filter float format
frozenset getattr globals hasattr hash help hex id input int isinstance issubclass iter len license
list locals map max memoryview
min next
object oct open ord pow print property quit
range repr reversed round set setattr slice sorted staticmethod str sum super tuple type vars zip
37 lexer
.python
.keywords2
.no
.sub
.identifiers
=1
38 lexer
.python
.identifier
.attributes
=1
39 lexer
.python
.identifier
.decorator
=1
42 # default extension used when saving files
46 mime_type
=text
/x
-python
48 # these characters define word boundaries when making selections and searching
49 # using word matching options
50 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
52 # single comment char, like # in this file
58 # set to false if a comment character/string should start at column 0 of a line, true uses any
59 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
61 # setting to false would generate this
62 # # command_example();
63 # This setting works only for single line comments
64 comment_use_indent
=true
66 # context action command (please see Geany's main documentation for details)
71 # 0 is spaces, 1 is tabs, 2 is tab & spaces
75 # %f will be replaced by the complete filename
76 # %e will be replaced by the filename without extension
78 FT_00_CM
=@PYTHON_COMMAND@ -m py_compile
"%f"
81 FT_02_CM
=pycodestyle
--max-line
-length
=80 "%f"
83 error_regex
=(.+):([0-9]+):([0-9]+)
85 EX_00_CM
=@PYTHON_COMMAND@ "%f"