Function: eglot--TextDocumentItem

eglot--TextDocumentItem is a byte-compiled function defined in eglot.el.gz.

Signature

(eglot--TextDocumentItem)

Documentation

Compute TextDocumentItem object for current buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defun eglot--TextDocumentItem ()
  "Compute TextDocumentItem object for current buffer."
  (append
   (eglot--VersionedTextDocumentIdentifier)
   (list :languageId (eglot--languageId)
         :text
         (eglot--widening
          (buffer-substring-no-properties (point-min) (point-max))))))