From ab3efc0e285f10e609ca2623445272743574ba01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Sun, 10 May 2020 23:19:56 +0200 Subject: [PATCH] Align with changes in NpmClientHandler API (#6) --- Main.sublime-menu | 2 +- plugin.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Main.sublime-menu b/Main.sublime-menu index 391144f..3ab9629 100644 --- a/Main.sublime-menu +++ b/Main.sublime-menu @@ -20,7 +20,7 @@ "command": "edit_settings", "args": { "base_file": "${packages}/LSP-bash/LSP-bash.sublime-settings", - "default": "// Settings in here override those in \"LSP-bash/LSP-bash.sublime-settings\",\n\n{\n\t$0\n}\n", + "default": "// Settings in here override those in \"LSP-bash/LSP-bash.sublime-settings\"\n\n{\n\t$0\n}\n", }, }, ], diff --git a/plugin.py b/plugin.py index 3095a92..48d77c4 100644 --- a/plugin.py +++ b/plugin.py @@ -17,5 +17,6 @@ class LspBashPlugin(NpmClientHandler): server_directory, 'node_modules', 'bash-language-server', 'bin', 'main.js' ) - def get_binary_arguments(self): + @classmethod + def get_binary_arguments(cls): return ['start']