From 8994c842946da4e8234d8b87068827d1c6185342 Mon Sep 17 00:00:00 2001 From: Randy Taylor Date: Mon, 29 May 2023 09:16:10 -0400 Subject: [PATCH] go-ts-mode: Treat apostrophes as strings (Bug#63708) * lisp/progmodes/go-ts-mode.el (go-ts-mode--syntax-table): Treat apostrophes as strings. --- lisp/progmodes/go-ts-mode.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/go-ts-mode.el b/lisp/progmodes/go-ts-mode.el index 4233b115f19..698c6424ea2 100644 --- a/lisp/progmodes/go-ts-mode.el +++ b/lisp/progmodes/go-ts-mode.el @@ -58,6 +58,7 @@ go-ts-mode--syntax-table (modify-syntax-entry ?< "." table) (modify-syntax-entry ?> "." table) (modify-syntax-entry ?\\ "\\" table) + (modify-syntax-entry ?\' "\"" table) (modify-syntax-entry ?/ ". 124b" table) (modify-syntax-entry ?* ". 23" table) (modify-syntax-entry ?\n "> b" table) -- 2.40.1