This repository was archived by the owner on Oct 21, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 [org.clojure/tools.reader " 0.7.10" ]
1111 [ibdknox/analyzer " 0.0.2" ]
1212 [clj-stacktrace " 0.2.7" ]
13- [fs " 1.3.3" ]
1413 [org.clojure/clojurescript " 0.0-2202"
1514 :exclusions [org.apache.ant/ant]]
1615 [clojure-complete " 0.2.3" ]
Original file line number Diff line number Diff line change 33 [clojure.pprint :refer [pprint]]
44 [clojure.test :as test]
55 [clojure.string :as string]
6- [fs.core :as fs]
6+ [lighttable.nrepl.fs :as fs]
77 [lighttable.nrepl.eval :as eval]
88 [lighttable.nrepl.core :as core]
99 [lighttable.nrepl.exception :as exception]
Original file line number Diff line number Diff line change 77 [clojure.tools.nrepl.middleware :refer [set-descriptor!]]
88 [cheshire.core :as cheshire]
99 [clj-stacktrace.repl :refer [pst+]]
10- [fs.core :as fs]
10+ [lighttable.nrepl.fs :as fs]
1111 [clojure.repl :as repl]))
1212
1313(def ^{:dynamic true } *ltmsg* nil )
1818(def old-*out* *out*)
1919(def old-*err* *err*)
2020(def my-settings (atom {:name " clj"
21- :dir (fs/absolute-path fs/* cwd* )
21+ :dir (fs/absolute-path fs/cwd)
2222 :type " lein-light-nrepl"
2323 :commands [:editor.eval.clj
2424 :editor.clj.doc
Original file line number Diff line number Diff line change 1+ (ns lighttable.nrepl.fs
2+ " Minimal implementation of fs 1.3.3"
3+ (:require [clojure.java.io :as io]))
4+
5+ (defn exists? [path]
6+ (.exists (io/file path)))
7+
8+ (defn absolute-path [path]
9+ (.getAbsolutePath (io/file path)))
10+
11+ (defn mod-time [path]
12+ (.lastModified (io/file path)))
13+
14+ (def cwd (.getCanonicalFile (io/file " ." )))
Original file line number Diff line number Diff line change 1212 [lighttable.nrepl.doc :as doc]
1313 lighttable.nrepl.auto-complete
1414 [clj-stacktrace.repl :as stack :refer [pst+]]
15- [fs.core :as fs]
1615 [clojure.repl :as repl]))
1716
1817(defn with-lt-data [msg]
You can’t perform that action at this time.
0 commit comments