Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions open_include.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,12 +319,11 @@ def resolve_path(self, window, view, paths, skip_folders = False):
pass

user_home_path = expanduser("~")

for path in paths.split('\n'):

paths = re.sub('"|\'|<|>|\(|\)|\{|\}|\[|\]|;', '', paths)

for path in paths.split('\n'):
if not path.startswith('http'):

paths += re.sub('"|\'|<|>|\(|\)|\{|\}|\[|\]|;', '', path)

# remove quotes
paths += '\n' + re.sub(';', '', path)
# remove :row:col
Expand Down