Skip to content

Commit

Permalink
Minor fix for textDocument/definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfinegan committed May 23, 2018
1 parent 7d94023 commit 3b4d67e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion text-document.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@
(Location #:uri uri
#:range (Range #:start (abs-pos->Pos doc-text start)
#:end (abs-pos->Pos doc-text end)))]))
(success-response id result)]))
(success-response id result)]
[_
(error-response id INVALID-PARAMS "textDocument/definition failed")]))

;; Reference request
(define (references id params)
Expand Down

0 comments on commit 3b4d67e

Please sign in to comment.