Skip to content

Commit d6121d3

Browse files
committed
fix: git error when installing pylsp
1 parent 9c004c8 commit d6121d3

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

lang/python/lib.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,8 @@ func InstallLanguageServer() (string, error) {
6666
}
6767
// git submodule init
6868
log.Error("Installing pylsp...")
69-
if err := exec.Command("git", "submodule", "init").Run(); err != nil {
70-
log.Error("git submodule init failed: %v", err)
71-
return "", err
72-
}
73-
// git submodule update
74-
if err := exec.Command("git", "submodule", "update").Run(); err != nil {
75-
log.Error("git submodule update failed: %v", err)
69+
if err := exec.Command("git", "clone", "https://github.com/Hoblovski/python-lsp-server.git", "pylsp").Run(); err != nil {
70+
log.Error("git clone failed: %v", err)
7671
return "", err
7772
}
7873
// python -m pip install -e projectRoot/pylsp

pylsp

Submodule pylsp updated 65 files

version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
package main
1818

1919
const (
20-
Version = "0.1.3"
20+
Version = "0.2.0"
2121
)

0 commit comments

Comments
 (0)