summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorJimmy Yuen Ho Wong <wyuenho@gmail.com>2023-08-31 19:47:12 +0100
committerJoão Távora <joaotavora@gmail.com>2023-08-31 19:47:37 +0100
commitfad48a20e665e6b5b51c417e9c04946517a2aa2f (patch)
treee92ff4d4d8deea510f752146dec05ae293222e81 /lisp/emacs-lisp/bytecomp.el
parentb71beb7ae7c60a5c5af608420d28fdda5265a264 (diff)
downloademacs-fad48a20e665e6b5b51c417e9c04946517a2aa2f.tar.gz
emacs-fad48a20e665e6b5b51c417e9c04946517a2aa2f.tar.bz2
emacs-fad48a20e665e6b5b51c417e9c04946517a2aa2f.zip
Handle directory values of scopeUri in workspace/configuration
Even though scopeUri is specified to be of documentUri type, some servers (notably pyright) insist on passing the pathname of a directory there. In pyright's case this is frequently useless, as the directory is the project directory. Nevertheless we can be lenient to those servers by detecting whether the value is a directory and doing the right thing. Note that we do not (yet) support per-file configuration storage. * lisp/progmodes/eglot.el (eglot--workspace-configuration-plist): Rework. Co-authored-by: João Távora <joaotavora@gmail.com> GitHub-reference: https://github.com/joaotavora/eglot/pull/1281
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions