aboutsummaryrefslogtreecommitdiffstats
path: root/admin/notes/java
diff options
context:
space:
mode:
authorJoão Távora2025-12-16 17:45:36 +0000
committerJoão Távora2025-12-16 17:58:32 +0000
commit06f31dc2d6305191bd35ad3e6017ba6e81a8b84d (patch)
tree75333f3de211cd54f007538328dbcfe3f11599f9 /admin/notes/java
parent645a6ba08108af15e89dd527bc3ea37f6c8f07eb (diff)
downloademacs-06f31dc2d6305191bd35ad3e6017ba6e81a8b84d.tar.gz
emacs-06f31dc2d6305191bd35ad3e6017ba6e81a8b84d.zip
Eglot: support relativePatternSupport for file watching (bug#79809)
Announce relativePatternSupport capability. Parse RelativePattern objects with baseUri and pattern fields. Add defvar eglot-watch-files-outside-project-root to control filtering. Rewrote file watching implementation. Key by registration ID instead of directory. Each LSP watchers item spawns directory watchers indenpendently that will look for the associated pattern only. This change needs (or at least is known to work more efficiently) with the latest project.el, so we should bump it. * lisp/progmodes/eglot.el (eglot-client-capabilities): Announce relativePatternSupport for didChangeWatchedFiles. (eglot-lsp-server): Change file-watches slot to ID-keyed structure. (eglot-watch-files-outside-project-root): New defvar. (eglot--watch-glob): New function. (eglot-register-capability): Rewrite. (eglot-unregister-capability): Simplified for ID-keyed structure. (eglot--on-shutdown): Update watch cleanup.
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions