Skip to content

Commit afabf0e

Browse files
committed
Access nvim directly component from user ns
1 parent da9c180 commit afabf0e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/user.clj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77

88
(def system-atom (atom nil))
99

10+
(defn nvim
11+
"Get the nvim component, for convenience"
12+
[]
13+
(:nvim @system-atom))
14+
1015
(defn go
1116
"Start the plugin."
1217
[]

0 commit comments

Comments
 (0)