]> git.eshelyaron.com Git - emacs.git/commit
Add support for optional completionitem.tags
authorBrian Leung <bkleung89@gmail.com>
Thu, 13 Jan 2022 03:06:18 +0000 (19:06 -0800)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 22 Jan 2022 03:53:00 +0000 (04:53 +0100)
commit97107540806a426c0951e572890b2827d41ebd43
tree00f253034436aff83f6fcf8d601a2b735fe396a9
parent6a6f4c3d27892ee5355d341ae9f586a48d217023
Add support for optional completionitem.tags

* eglot.el (eglot--lsp-interface-alist): Add optional CompletionItem.tags.
(eglot-completion-at-point): Add :company-deprecated key and value,
checking for either the appropriate tag (1) in the :tags property, or
a truthy value for the :deprecated property.
(eglot-client-capabilities): Advertise tagSupport (for tag == 1) and
deprecatedSupport.

Also load an updated version of seq.el in Emacsen < 27.

* Makefile (ELPA_DEPS): Require latest seq.el.
lisp/progmodes/eglot.el