File tree Expand file tree Collapse file tree 5 files changed +21
-2
lines changed Expand file tree Collapse file tree 5 files changed +21
-2
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
TODO
2
+ [_] Move this TODO to socket-repl-plugin
3
+ [_] Move all of the socket repl stuff to a plugin project
2
4
[X] Make buffer-get-text-async work, just test it at the repl
3
5
[X] Get "eval-code" working
4
6
[_] Figure out how to accumulate / display results in vim
7
+ append it all to a file
8
+ preferably a temp file (could be a lot of data)
9
+ don't keep it in memory
10
+ `:ShowRepl`
11
+ no vimscript, invoke a plugin function
12
+ show the contents of the temp file in the current buffer
13
+ make it autoread
5
14
[_] Name vim functions correctly
6
15
[_] Pass host, port in connect
7
16
8
17
Goals
18
+ -Not a proper nRepl plugin, primary use is as an thought exercise
9
19
-Zero vimscript (plugin written in clojure)
10
20
-Simplicity
11
21
Ex:
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ (defproject socket-repl-plugin " 0.1.0-SNAPSHOT"
2
+ :description " FIXME: write description"
3
+ :url " http://example.com/FIXME"
4
+ :license {:name " Eclipse Public License"
5
+ :url " http://www.eclipse.org/legal/epl-v10.html" }
6
+ :dependencies [[org.clojure/clojure " 1.9.0-alpha12" ]
7
+ [neovim-client " 0.1.0-SNAPSHOT" ]]
8
+ :main ^:skip-aot socket-repl.socket-repl-plugin
9
+ :target-path " target/%s"
10
+ :profiles {:uberjar {:aot :all }})
Original file line number Diff line number Diff line change 1
- (ns neovim-client .socket-repl-plugin
1
+ (ns socket-repl .socket-repl-plugin
2
2
" A plugin which connects to a running socket repl and sends output back to
3
3
Neovim."
4
4
(:require
You can’t perform that action at this time.
0 commit comments