fix import

This commit is contained in:
2025-04-24 17:06:45 +02:00
parent 0034602fff
commit e0daa147f1
2 changed files with 14 additions and 6 deletions

View File

@ -2,6 +2,11 @@ import os
import sys
import sublime
# Add the package archive path itself to sys.path
package_path = os.path.dirname(__file__)
if package_path not in sys.path:
sys.path.insert(0, package_path)
# --- Add lib to sys.path ---
# Get the directory containing this file (MarkdownLivePreview.py)
plugin_dir = os.path.dirname(__file__)