Skip to content

Commit

Permalink
Merge pull request #136 from walizw/master
Browse files Browse the repository at this point in the history
added GDScript
  • Loading branch information
alstr authored Dec 22, 2022
2 parents 687d7b2 + 5c1945e commit 8c572e1
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
9 changes: 9 additions & 0 deletions syntax.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,15 @@
}
]
},
{
"language": "GDScript",
"markers": [
{
"type": "line",
"pattern": "#"
}
]
},
{
"language": "Go",
"markers": [
Expand Down
10 changes: 10 additions & 0 deletions tests/test_closed.diff
Original file line number Diff line number Diff line change
Expand Up @@ -297,3 +297,13 @@ index 0000000..525e25d 100644
- ;; TODO: todo with description (sub-level)
- ;; Body of the issue should stay here
- (str "hello" name))
diff --git a/tests/example.gd b/tests/example.gd
index 0000000..525e25d 100644
--- a/tests/example.gd
+++ b/tests/example.gd
@@ -1,5 +0,0 @@
-# TODO Store all the players here
-var _players: = []
-
-# TODO Play the level music
-export: var music_path: String
11 changes: 11 additions & 0 deletions tests/test_new.diff
Original file line number Diff line number Diff line change
Expand Up @@ -320,3 +320,14 @@ index 0000000..525e25d
+ ;; TODO: todo with description (sub-level)
+ ;; Body of the issue should stay here
+ (str "hello" name))
diff --git a/tests/example.gd b/tests/example.gd
new file mode 100644
index 0000000..525e25d
--- /dev/null
+++ b/tests/example.gd
@@ -0,0 +1,5 @@
+# TODO Store all the players here
+var _players: = []
+
+# TODO Play the level music
+export: var music_path: String
4 changes: 2 additions & 2 deletions tests/test_todo_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_handlebars_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'handlebars'), 2)

def test_org_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'text'), 2)
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'text'), 4)

def test_scss_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'scss'), 2)
Expand Down Expand Up @@ -127,7 +127,7 @@ def test_handlebars_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'handlebars'), 2)

def test_org_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'text'), 2)
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'text'), 4)

def test_scss_issues(self):
self.assertEqual(count_issues_for_file_type(self.raw_issues, 'scss'), 2)
Expand Down

0 comments on commit 8c572e1

Please sign in to comment.