Function: eca-config--global-path
eca-config--global-path is a natively compiled function defined in
eca-config.el.
Signature
(eca-config--global-path &optional SESSION)
Documentation
Return the path to the global ECA config file.
Prefer the path the server of SESSION reported in the initialize
response, so the buffer edits the file the server actually reads.
Fall back to resolving it locally for servers without support.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-config.el
(defun eca-config--global-path (&optional session)
"Return the path to the global ECA config file.
Prefer the path the server of SESSION reported in the `initialize'
response, so the buffer edits the file the server actually reads.
Fall back to resolving it locally for servers without support."
(if-let* ((path (and session (eca--session-global-config-path session))))
(eca-config--server-path-to-local path session)
(eca-config--local-global-path)))