File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 7
7
<mime_type >text/x-gdscript</mime_type >
8
8
<mime_type >application/x-gdscript</mime_type >
9
9
<priority >0.1</priority >
10
- <analyse first = " true " >
11
- <regex pattern =" ^@ " score =" 0.4 " />
10
+ <analyse >
11
+ <regex pattern =" ^export " score =" 0.1 " />
12
12
</analyse >
13
13
</config >
14
14
<rules >
Original file line number Diff line number Diff line change 6
6
<filename >*.gd</filename >
7
7
<mime_type >text/x-gdscript</mime_type >
8
8
<mime_type >application/x-gdscript</mime_type >
9
- <analyse first =" true" >
10
- <regex pattern =" ^export" score =" 0.1" />
9
+ <analyse >
10
+ <regex pattern =" func (_ready|_init|_input|_process|_unhandled_input)" score =" 0.8" />
11
+ <regex pattern =" (extends |class_name |onready |preload|load|setget|func [^_])" score =" 0.4" />
12
+ <regex pattern =" (var|const|enum|export|signal|tool)" score =" 0.2" />
11
13
</analyse >
12
14
</config >
13
15
<rules >
You can’t perform that action at this time.
0 commit comments