Skip to content

Commit

Permalink
fix: correct comment syntax entry (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam authored May 14, 2024
1 parent 05e89f6 commit 7ca2769
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nix-ts-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ and for subsequent lines it's the previous line's indentation."
;; Syntax map
(defvar nix-ts-mode--syntax-table
(let ((table (make-syntax-table)))
(modify-syntax-entry ?# "<" table)
(modify-syntax-entry ?\n ">" table)
(modify-syntax-entry ?/ ". 124b" table)
(modify-syntax-entry ?* ". 23" table)
(modify-syntax-entry ?# "< b" table)
(modify-syntax-entry ?\n "> b" table)
(modify-syntax-entry ?/ ". 14" table)
(modify-syntax-entry ?* ". 23" table)
table)
"Syntax table for `nix-ts-mode'.")

Expand Down

0 comments on commit 7ca2769

Please sign in to comment.