Skip to content

Commit

Permalink
Per #285: experimental fix for Elm, reverting 6d87de1
Browse files Browse the repository at this point in the history
  • Loading branch information
joaotavora committed Sep 30, 2019
1 parent 15b9762 commit 6dfdfff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,6 @@ under cursor."
for probe = (plist-member caps feat)
if (not probe) do (cl-return nil)
if (eq (cadr probe) :json-false) do (cl-return nil)
;; If the server specifies null as the value of the capability, it
;; makes sense to treat it like false.
if (null (cadr probe)) do (cl-return nil)
if (not (listp (cadr probe))) do (cl-return (if more nil (cadr probe)))
finally (cl-return (or (cadr probe) t)))))

Expand Down

0 comments on commit 6dfdfff

Please sign in to comment.