Skip to content

Commit 4bca21d

Browse files
committed
Return test/src path discriminators
1 parent c55bb0d commit 4bca21d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rplugin/python3/acid/nvim/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ def get_acid_ns(nvim):
113113
elif 'ns:' in strategy:
114114
return strategy.split(':')[-1]
115115

116+
def test_paths(nvim):
117+
return {'test', *nvim.vars.get('acid_alt_test_paths', [])}
118+
119+
def src_paths(nvim):
120+
return {'src', *nvim.vars.get('acid_alt_paths', [])}
121+
116122
def get_stop_paths(nvim):
117123
return {'test', 'src'}
118124

0 commit comments

Comments
 (0)