Function: eglot-register-capability

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

Signature

(eglot-register-capability SERVER METHOD ID &rest PARAMS)

Documentation

Ask SERVER to register capability METHOD marked with ID.

Implementations

(eglot-register-capability ARG1 (ARG2 (eql workspace/didChangeWatchedFiles)) ARG3 &rest REST) in `eglot.el'.

Handle dynamic registration of workspace/didChangeWatchedFiles.

(eglot-register-capability S METHOD ID &rest PARAMS) in `eglot.el'.

Undocumented

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(cl-defgeneric eglot-register-capability (server method id &rest params)
  "Ask SERVER to register capability METHOD marked with ID."
  (:method
   (_s method _id &rest _params)
   (eglot--warn "Server tried to register unsupported capability `%s'"
                method)))