Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mechatroner committed Aug 18, 2019
1 parent 4b9e16e commit 9970f0d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@

# TODO support multi-character separators

# FIXME check RBQL both with latin-1 and utf-8


rainbow_scope_names = [
'rainbow1',
Expand Down Expand Up @@ -745,7 +743,7 @@ def run(self, edit):
previous_query = self.view.settings().get('rbql_previous_query', '')
backend_language = get_backend_language(self.view)
pretty_language_name = prettify_language_name(backend_language)
encoding = get_setting(active_view, 'rbql_encoding', 'latin-1')
encoding = get_setting(self.view, 'rbql_encoding', 'latin-1')
active_window.show_input_panel('Enter SQL-like RBQL query ({}/{}):'.format(pretty_language_name, encoding), previous_query, on_query_done, None, on_query_cancel)
self.view.settings().set('rbql_mode', True)
show_column_names(self.view, delim, policy)
Expand Down

0 comments on commit 9970f0d

Please sign in to comment.