Function: editorconfig-core-get-nearest-editorconfig
editorconfig-core-get-nearest-editorconfig is a byte-compiled function
defined in editorconfig-core.el.gz.
Signature
(editorconfig-core-get-nearest-editorconfig DIRECTORY)
Documentation
Return path to .editorconfig file that is closest to DIRECTORY.
Source Code
;; Defined in /usr/src/emacs/lisp/editorconfig-core.el.gz
(defun editorconfig-core-get-nearest-editorconfig (directory)
"Return path to .editorconfig file that is closest to DIRECTORY."
(when-let* ((handle (car (last
(editorconfig-core--get-handles directory
".editorconfig")))))
(editorconfig-core-handle-path handle)))