# For complete documentation of this file, please see Geany's main documentation [styling] # Edit these in the colorscheme .conf file instead default=default commentline=comment_line number=number_1 string=string_1 character=character word=keyword_1 triple=string_2 tripledouble=string_2 classname=type defname=function operator=operator identifier=identifier_1 commentblock=comment stringeol=string_eol word2=keyword_2 decorator=decorator fstring=string_1 fcharacter=character ftriple=string_2 ftripledouble=string_2 [keywords] # all items must be in one line # both primary and identifiers are auto-generated by scripts/update-python-identifiers.sh # Python 2&3 keywords primary=False None True and as assert async await break class continue def del elif else except exec finally for from global if import in is lambda nonlocal not or pass print raise return try while with yield # additional keywords, will be highlighted with style "word2" # Python 2&3 builtins (minus ones in primary) identifiers=bool byte char int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 string nil true false result echo assert [lexer_properties] fold.quotes.nim=1 lexer.nim.keywords2.no.sub.identifiers=1 [settings] # default extension used when saving files extension=nim # MIME type mime_type=text/x-nim # the following characters are these which a "word" can contains, see documentation #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 # single comment char, like # in this file comment_single=# comment_use_indent=true tag_parser=Python lexer_filetype=Python # set to false if a comment character/string should start at column 0 of a line, true uses any # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d #command_example(); # setting to false would generate this # command_example(); # This setting works only for single line comments comment_use_indent=true # context action command (please see Geany's main documentation for details) context_action_cmd= [indentation] width=2 # 0 is spaces, 1 is tabs, 2 is tab & spaces type=0 [build-menu] # %f will be replaced by the complete filename # %e will be replaced by the filename without extension # (use only one of it at one time) FT_00_LB=_Compile FT_00_CM=nim c "%f" FT_00_WD= FT_02_LB=_Lint FT_02_CM=nimpretty --maxLineLen:80 "%f" FT_02_WD= error_regex=(.+)\(([0-9]+),\s+([0-9]+)\)\s+Error EX_00_LB=_Execute EX_00_CM=nim c -r "./%e" EX_00_WD=