Skip to content

Commit 61e00a9

Browse files
authored
Merge pull request #12 from clojure-vim/smarter-ns-acid
Allow ns to be configured in the buffer
2 parents cec9e06 + fce9046 commit 61e00a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonx/async_clj_omni/acid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import threading
22
from async_clj_omni.cider import cider_gather # NOQA
33
try:
4-
from acid.nvim import localhost, path_to_ns
4+
from acid.nvim import localhost, get_acid_ns
55
from acid.session import SessionHandler, send
66
loaded = True
77
except:
@@ -65,7 +65,7 @@ def gather_candidates(self, keyword):
6565
url = "nrepl://{}:{}".format(*address)
6666
wc = self.get_wc(url)
6767
session = self.get_session(url, wc)
68-
ns = path_to_ns(self._vim)
68+
ns = get_acid_ns(self._vim)
6969

7070
def global_watch(cmsg, cwc, ckey):
7171
self._logger.debug("Received message for {}".format(url))

0 commit comments

Comments
 (0)