feat: update neovim lsp

This commit is contained in:
2022-02-05 00:10:16 +08:00
parent 35e8936114
commit 777096d908
9 changed files with 37 additions and 41 deletions
+1 -5
View File
@@ -81,6 +81,7 @@ class Installer(Base):
run("sudo tar zxf "+name)
run("go version")
os.chdir(cwd)
run("go install golang.org/x/tools/gopls@latest")
class Base(object):
def cmd_exist(self, name):
from shutil import which
@@ -98,10 +99,5 @@ class Base(object):
def run(cmd:str):
subprocess.run(cmd.split())
if __name__ == '__main__':
main()