Function: editorconfig-find-current-editorconfig

editorconfig-find-current-editorconfig is an autoloaded, interactive and byte-compiled function defined in editorconfig-tools.el.gz.

Signature

(editorconfig-find-current-editorconfig)

Documentation

Find the closest .editorconfig file for current file.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/editorconfig-tools.el.gz
;;;###autoload
(defun editorconfig-find-current-editorconfig ()
  "Find the closest .editorconfig file for current file."
  (interactive)
  (eval-and-compile (require 'editorconfig-core))
  (when-let* ((file (editorconfig-core-get-nearest-editorconfig
                    default-directory)))
    (find-file file)))