I hereby claim:
- I am severeoverfl0w on github.
- I am severeoverfl0w (https://keybase.io/severeoverfl0w) on keybase.
- I have a public key ASBEuNCN21tUfT5X9jCrZDrS_ATOvx6TsLt3rOWyNeGIogo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| (set-env! :dependencies '[[adzerk/boot-test "1.1.0"] | |
| [im.chit/hara.event "2.2.17"] | |
| [im.chit/hara.time "2.2.17"] | |
| [org.asciidoctor/asciidoctorj "1.5.4"]] | |
| :source-paths #{"test" "src"}) | |
| (require '[adzerk.boot-test :refer :all]) | |
| (require '[boot.util :refer [dosh]]) | |
| (require '[clojure.java.io :as io]) | |
| (require '[hara.time :as t]) |
| import sys | |
| import os | |
| basedir = os.path.dirname(os.path.realpath(__file__)) | |
| sys.path.append(os.path.join(basedir, "nrepl_python_client/")) | |
| import nrepl | |
| conn = nrepl.connect("nrepl://127.0.0.1:35243") | |
| # Create a session |
In this document I’m going to attempt describe the problems that may arise when building a Vim integration with the Clojure nREPL
nREPL client functionality can be broken down into 2 parts:
Managing connections to an nREPL server
bencoding
connecting
Interacting with the nREPL (UI)
I hereby claim:
To claim this, I am signing this object:
This is amazing, don’t you know.
| " vim:fdm=marker:tw=59 | |
| source ~/src/github.com/junegunn/vim-plug/plug.vim | |
| let g:config_base_dir = '~/.config/nvim' | |
| call plug#begin(g:config_base_dir.'/pluggedtest') | |
| " Enable true colour (16 million instead of 256) support | |
| set termguicolors | |
| " Set the clipboard to be the same as the system's |
| (ns user | |
| (:import [org.cactoos.io InputOf TeeInput] | |
| [org.buildobjects.process ProcBuilder] | |
| [org.zeroturnaround.exec ProcessExecutor] | |
| [org.apache.commons.io.input ReaderInputStream] | |
| [org.apache.commons.io.output WriterOutputStream])) | |
| (defn reload | |
| [] | |
| (require 'user :reload)) |
| (defn- schema->type | |
| [schema] | |
| (let [types (concat | |
| (m/search schema | |
| {"format" "date-time"} :db.type/instant | |
| {"format" "uri"} :db.type/uri | |
| {"type" "array"} '(Array nil) | |
| {"type" "boolean"} :db.type/boolean | |
| {"type" "integer"} :db.type/long | |
| {"type" "string"} :db.type/string |
| (defn- schema->type | |
| [schema] | |
| (let [types (concat | |
| (m/search schema | |
| {"format" "date-time"} :db.type/instant | |
| {"format" "uri"} :db.type/uri | |
| {"type" "array"} '(Array nil) | |
| {"type" "boolean"} :db.type/boolean | |
| {"type" "integer"} :db.type/long | |
| {"type" "string"} :db.type/string |