We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d178d70 commit 04674bcCopy full SHA for 04674bc
rplugin/python3/acid/pure/__init__.py
@@ -41,7 +41,7 @@ def path_to_ns(path, stop_paths=None, base_files=None):
41
path[-1] = path[-1].split('.')[0]
42
for ix, _ in enumerate(path):
43
for bf in base_files:
44
- if os.path.exists(os.path.join(*["/", *path[:ix], bp])):
+ if os.path.exists(os.path.join(*["/", *path[:ix], bf])):
45
raw_path_list = path[ix+1:]
46
break
47
0 commit comments