Skip to content

Commit

Permalink
[HTML] Add "disable_default_completions" setting to control completions
Browse files Browse the repository at this point in the history
  • Loading branch information
wbond committed Aug 18, 2020
1 parent 3592e3c commit 2a081dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions HTML/html_completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,9 @@ def tag_name_completions(self):
@timing
def on_query_completions(self, view, prefix, locations):

if sublime.load_settings('HTML.sublime-settings').get('disable_default_completions'):
return None

def match_selector(selector):
return view.match_selector(locations[0], selector)

Expand Down

0 comments on commit 2a081dd

Please sign in to comment.