Skip to content

Commit e3f29ed

Browse files
committed
Add Clojure
1 parent 768fe8e commit e3f29ed

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

apiDocAutocompletion.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class apiDocAutocompletion(sublime_plugin.EventListener):
4444
]
4545

4646
def on_query_completions(self, view, prefix, locations):
47-
47+
4848
# Block comment scopes:
4949
# C#:
5050
# source.cs comment.block.source.cs
@@ -69,12 +69,15 @@ def on_query_completions(self, view, prefix, locations):
6969
# source.python string.quoted.double.block.python
7070
# Ruby:
7171
# source.ruby comment.block.documentation.ruby
72-
72+
# Clojure:
73+
# source.clojure comment.line.semicolon.double.clojure
74+
7375
target_scopes = [
7476
"comment.block",
7577
"source.perl meta.comment.full-line.perl comment.line.number-sign.perl",
7678
"source.python string.quoted.double.block.python",
77-
"source.erlang"
79+
"source.erlang",
80+
"source.clojure comment.line.semicolon.double.clojure",
7881
]
7982

8083
location = locations[0]
@@ -83,4 +86,4 @@ def on_query_completions(self, view, prefix, locations):
8386
if any(scope in current_scope for scope in target_scopes) == True:
8487
return apiDocAutocompletion._suggestions
8588
else:
86-
return []
89+
return []

0 commit comments

Comments
 (0)