]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix typo in js--treesit-imenu
authorRandy Taylor <dev@rjt.dev>
Tue, 6 Dec 2022 01:30:56 +0000 (20:30 -0500)
committerStefan Kangas <stefankangas@gmail.com>
Tue, 6 Dec 2022 04:27:44 +0000 (05:27 +0100)
* lisp/progmodes/js.el (js--treesit-imenu): Fix a typo.  (Bug#59849)

lisp/progmodes/js.el

index 90ab7cc924bbcc0c8ff54a7147a98720fe336df9..45dfef372cd8691b08d094e5333f841d6bf07fcf 100644 (file)
@@ -3734,7 +3734,7 @@ definition*\"."
          (var-tree (treesit-induce-sparse-tree
                     node "lexical_declaration" nil 1000)))
     `(("Class" . ,(js--treesit-imenu-1 class-tree))
-      ("Varieable" . ,(js--treesit-imenu-1 var-tree))
+      ("Variable" . ,(js--treesit-imenu-1 var-tree))
       ("Function" . ,(js--treesit-imenu-1 func-tree)))))
 
 ;;; Main Function