Skip to content

Commit

Permalink
Close joaotavora#86: Correctly assign syncKind in testDocument/didChange
Browse files Browse the repository at this point in the history
  • Loading branch information
zainab-ali committed Aug 25, 2018
1 parent e5b89af commit 9eaec13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eglot.el
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ When called interactively, use the currently active server"
"Send textDocument/didChange to server."
(when eglot--recent-changes
(let* ((server (eglot--current-server-or-lose))
(sync-kind (eglot--server-capable :textDocumentSync))
(sync-kind (eglot--server-capable :textDocumentSync :change))
(full-sync-p (or (eq sync-kind 1)
(eq :emacs-messup eglot--recent-changes))))
(jsonrpc-notify
Expand Down

0 comments on commit 9eaec13

Please sign in to comment.