]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix 'forward-comment' in 'toml-ts-mode'
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 Aug 2024 09:29:31 +0000 (12:29 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 20 Aug 2024 14:09:55 +0000 (16:09 +0200)
* lisp/textmodes/toml-ts-mode.el (toml-ts-mode--syntax-table): Fix
syntax of newline.  Patch from Jostein Kjønigsen
<jostein@secure.kjonigsen.net>.  (Bug#72489)

(cherry picked from commit 5c1bd991396ff92cf0b81996f63c378c115f5b86)

lisp/textmodes/toml-ts-mode.el

index 1b621032f8ae90c6b6cb3f6f3d02b5d7566df735..3c4533a7fea1c8cbf044afad56304ac6cf06a323 100644 (file)
@@ -50,7 +50,7 @@
     (modify-syntax-entry ?=  "."     table)
     (modify-syntax-entry ?\' "\""    table)
     (modify-syntax-entry ?#  "<"   table)
-    (modify-syntax-entry ?\n "> b"  table)
+    (modify-syntax-entry ?\n ">"  table)
     (modify-syntax-entry ?\^m "> b" table)
     table)
   "Syntax table for `toml-ts-mode'.")