Skip to content

Commit

Permalink
Update plugin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
klebster2 authored Nov 2, 2024
1 parent 54d9d63 commit 2962b81
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Maintainer: klebster2 <https://github.com/klebster2>
import subprocess
import sys

import os

def install(package: str):
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
Expand All @@ -14,7 +14,6 @@ def install(package: str):
# This is the quick and dirty way to get packages installed if they are not already installed
try:
import vim # pylint: disable=import-error

except Exception as e:
print("No vim module available outside vim")
raise e
Expand Down

0 comments on commit 2962b81

Please sign in to comment.