Skip to content
This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Commit e33c1f0

Browse files
committed
Merge pull request #70 from LightTable/use-upstream-clojure-mode
Use upstream clojure mode - close #26
2 parents 2aeab5c + 4caa7c2 commit e33c1f0

File tree

4 files changed

+255
-270
lines changed

4 files changed

+255
-270
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,11 @@ Plugin consists of the following components:
102102
* `lein-light-nrepl/`: nREPL middleware that is released as a clojars library
103103
* `runner/`: Uberjar that kicks off a connection to a Clojure(Script) project
104104
* `build.sh`: Script that rebuilds uberjar with any changes made to lein-light-nrepl and runner. Any Clojure connections must be restarted for this change to take effect.
105-
* `codemirror/clojure-mode.js`: Forked version of CodeMirror's clojure mode.
106-
* There is no process for upgrading `clojure-mode.js` until [this issue](https://github.com/LightTable/Clojure/issues/26) is addressed.
105+
* `codemirror/clojure.js`: CodeMirror's clojure mode
106+
* [Current version](https://github.com/codemirror/CodeMirror/blob/724a0d32820fd28d145a1b8dae12f7bb813f925c/mode/clojure/clojure.js)
107+
* Upgrade `clojure.js` with the following where `$VERSION` is a version tag or commit SHA:
108+
109+
curl https://raw.githubusercontent.com/codemirror/CodeMirror/$VERSION/mode/clojure/clojure.js > codemirror/clojure.js
107110
* `src/`: Normal LightTable plugin
108111

109112
When releasing a new plugin version and lein-light-nrepl has changed:

clojure.behaviors

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[
2-
[:app :lt.objs.plugins/load-js ["codemirror/clojure-mode.js" "clojure_compiled.js"]]
2+
[:app :lt.objs.plugins/load-js ["codemirror/clojure.js" "clojure_compiled.js"]]
33
[:app :lt.plugins.clojure/set-default-cljs-client :auto]
44
[:app :lt.plugins.clojure/set-cljs-browser-paths ["index.html" "resources/public/index.html" "public/index.html" "dev-resources/public/index.html"]]
55

codemirror/clojure-mode.js

Lines changed: 0 additions & 267 deletions
This file was deleted.

0 commit comments

Comments
 (0)