Skip to content

Commit

Permalink
Align with changes in NpmClientHandler API
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored and rwols committed May 10, 2020
1 parent ef8e276 commit cf5f8f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class LspVuePlugin(NpmClientHandler):
server_directory = 'server'
server_binary_path = os.path.join(server_directory, 'node_modules', 'vue-language-server', 'bin', 'vls')

def on_client_configuration_ready(self, configuration: dict):
@classmethod
def on_client_configuration_ready(cls, configuration: dict):
view = sublime.active_window().active_view()
if view:
view_settings = view.settings()
Expand Down

0 comments on commit cf5f8f0

Please sign in to comment.