Skip to content

Commit

Permalink
Remove unused parameter prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
thatsIch committed Dec 8, 2016
1 parent 90995ed commit b643af8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completion/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def __init__(self):
self.skin_rainmeter_section = SkinRainmeterSectionAutoComplete()
self.skin_metadata_section = SkinMetadataSectionAutoComplete()

def get_lines_of_section_on_cursor(self, view, location, prefix):
def get_lines_of_section_on_cursor(self, view, location):
size = view.size()
start_content = view.substr(sublime.Region(0, location))
end_content = view.substr(sublime.Region(location, size))
Expand Down Expand Up @@ -107,7 +107,7 @@ def on_query_completions(self, view, prefix, locations):
return None

# find last occurance of the [] to determine the ini sections
lines = self.get_lines_of_section_on_cursor(view, location, prefix)
lines = self.get_lines_of_section_on_cursor(view, location)
# filter empty lines
lines = list(filter(None, lines))
# filter comments
Expand Down

0 comments on commit b643af8

Please sign in to comment.