]> git.eshelyaron.com Git - emacs.git/commit
Fully handle lsp glob syntax
authorJoão Távora <joaotavora@gmail.com>
Sun, 31 Jan 2021 18:18:02 +0000 (18:18 +0000)
committerJoão Távora <joaotavora@gmail.com>
Mon, 1 Feb 2021 01:04:38 +0000 (01:04 +0000)
commit89fccba0088f765ba6a4d02b7ca4bf53633b43be
tree9de6a22f9e5cb26263202d2d066347df4e00d12d
parentc266aa6b360a683f50b3370942fc7ebfcafc747a
Fully handle lsp glob syntax

Thanks to Brian Leung and Dan Peterson for testing and helping me spot
bugs.

* eglot-tests.el (eglot--glob-match): New test.

* eglot.el (eglot--wildcard-to-regexp): Delete.
(eglot-register-capability): Rework.
(eglot--glob-parse, eglot--glob-compile, eglot--glob-emit-self)
(eglot--glob-emit-**, eglot--glob-emit-*, eglot--glob-emit-?)
(eglot--glob-emit-{}, eglot--glob-emit-range)
(eglot--directories-recursively): New helpers.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/602
lisp/progmodes/eglot.el