Update Russian translation (#3918)
[geany-mirror.git] / data / filedefs / filetypes.Nim.conf
blobc790884b03e837a9a56043cd461d3d2f7e3bc158
1 # For complete documentation of this file, please see Geany's main documentation
3 [keywords]
4 # all items must be in one line
5 primary=addr and as asm bind block break case cast concept const continue converter defer discard distinct div do elif else end enum except export finally for from func if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while xor yield
6 # additional keywords, will be highlighted with style "word2"
7 identifiers=array auto bool byte char int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 Natural Ordinal Positive seq string nil true false result echo openArray lent sink assert doAssert spawn parallel
9 [lexer_properties]
10 fold.quotes.nim=1
11 lexer.nim.keywords2.no.sub.identifiers=1
13 [settings]
14 # default extension used when saving files
15 extension=nim
16 # MIME type
17 mime_type=text/x-nim
18 # single comment char, like # in this file
19 comment_single=#
20 comment_use_indent=true
21 comment_open=#[
22 comment_close=]#
23 tag_parser=Python
24 lexer_filetype=Python
26 [indentation]
27 width=2
28 # 0 is spaces, 1 is tabs, 2 is tab & spaces
29 type=0
31 [build-menu]
32 FT_00_LB=nim c
33 FT_00_CM=nim c "%f"
34 FT_00_WD=%d
35 FT_02_LB=_Lint
36 FT_02_CM=nimpretty --maxLineLen:80 "%f"
37 EX_01_WD=
38 error_regex=(.+)\(([0-9]+),\s+([0-9]+)\)\s+Error
39 FT_01_LB=nim r
40 FT_01_CM=nim r "%f"
41 FT_01_WD=%d
43 [styling]
44 # Edit these in the colorscheme .conf file instead
45 default=default
46 commentline=comment_line
47 number=number_1
48 string=string_1
49 character=character
50 word=keyword_1
51 triple=string_2
52 tripledouble=string_2
53 classname=type
54 defname=function
55 operator=operator
56 identifier=identifier_1
57 commentblock=comment
58 stringeol=string_eol
59 word2=keyword_2
60 decorator=decorator
61 fstring=string_1
62 fcharacter=character
63 ftriple=string_2
64 ftripledouble=string_2