Skip to content

Commit

Permalink
fix: suppress keymap error
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyure-A committed Mar 13, 2024
1 parent 4bf9bde commit c69a3c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions satysfi-ts-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,11 @@
(insert " ")
(satysfi-ts-mode--indent (- offset 1))))

(defvar satysfi-ts-mode-map
(let ((keymap (make-sparse-keymap)))
(define-key keymap (kbd "<tab>") 'satysfi-ts-mode--indent))
(defvar satysfi-ts-mode-map (make-sparse-keymap)
"Mode map for `satysfi-ts-mode'.")

(define-key satysfi-ts-mode-map (kbd "<tab>") 'satysfi-ts-mode--indent)

(defun satysfi-ts-mode-install-grammar ()
"Install language grammar for SATySFi."
(interactive)
Expand Down

0 comments on commit c69a3c6

Please sign in to comment.