 ;; -*- lexical-binding: t -*-
 (toggle-debug-on-error)
 
+(require 'pcase)
 (require 'map)
 (require 'seq)
 (require 'cl-lib)

         "\\.handlebars\\'"
         "\\.underscore\\'"
         "\\.html?\\'"
         "\\.jinja\\'"
         "\\.mako\\'"
         "\\.dtl\\'"
         "\\.jsp\\'"

`XDG_CONFIG_HOME' and `XDG_CONFIG_DIRS'.  If FILEPATH is a file name, "
    (let* ((checker-name (or (cadr (split-string (symbol-name checker) "-"))
                             (symbol-name checker)))
           (xdg-config-home (or (file-name-as-directory (getenv "XDG_CONFIG_HOME"))
                                "~/.config/"))
           (xdg-config-dirs (getenv "XDG_CONFIG_DIRS"))
           (dir
            (seq-find
             (lambda (dir)
               (let ((full-path (concat dir filepath)))
