Upgrade fennel to ~xerool/fennel for extra hooks
This commit is contained in:
parent
69fcd63fad
commit
b9d084fada
973
src/fennel.lua
973
src/fennel.lua
File diff suppressed because it is too large
Load Diff
@ -28,17 +28,17 @@
|
|||||||
(. _G a)
|
(. _G a)
|
||||||
(. _G b)
|
(. _G b)
|
||||||
(. _G c))
|
(. _G c))
|
||||||
"oops"))))
|
"oops")))
|
||||||
|
|
||||||
;; (it "suggests locals in scope"
|
(it "suggests locals in scope"
|
||||||
;; (local state (doto [] setup-server))
|
(local state (doto [] setup-server))
|
||||||
;; (open-file state filename "(local x 10)\n(print )")
|
(open-file state filename "(local x 10)\n(print )")
|
||||||
;; (let [response (dispatch.handle* state (completion-at filename 1 7))]
|
(let [response (dispatch.handle* state (completion-at filename 1 7))]
|
||||||
;; (var seen-suggestion false)
|
(var seen-suggestion false)
|
||||||
;; (each [_ suggestion (ipairs (. response 1 :result))]
|
(each [_ suggestion (ipairs (. response 1 :result))]
|
||||||
;; (if (= suggestion.label :x)
|
(if (= suggestion.label :x)
|
||||||
;; (set seen-suggestion true)))
|
(set seen-suggestion true)))
|
||||||
;; (assert seen-suggestion "x was not suggested"))))
|
(assert seen-suggestion "x was not suggested"))))
|
||||||
|
|
||||||
;; (it "treats things in a call position differently")
|
;; (it "treats things in a call position differently")
|
||||||
;; (it "does not suggest locals out of scope")
|
;; (it "does not suggest locals out of scope")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user