Skip to content

Commit 950799d

Browse files
committed
Off by 1
1 parent c2ad351 commit 950799d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rplugin/python3/acid/pure/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def path_to_ns(path, stop_paths=None):
2121
# Look for project.clj
2222
for ix, _ in enumerate(path):
2323
if os.path.exists(os.path.join(*["/", *path[:ix], "project.clj"])):
24-
raw_path_list = path[ix:]
24+
raw_path_list = path[ix+1:]
2525
break
2626

2727
if raw_path_list is None:

0 commit comments

Comments
 (0)