Use c-ts-common's comment setup in go-ts-mode (bug#75978)
authorYuan Fu <casouri@gmail.com>
Wed, 12 Feb 2025 04:38:00 +0000 (20:38 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 12 Feb 2025 04:39:33 +0000 (20:39 -0800)
commit19314257485e88a82b128fe39c60ffd08862da58
tree3fb87c42e246f7db8410cab45700355398cd5444
parent316893ca387f6a1c231b13daea39bccd69322859
Use c-ts-common's comment setup in go-ts-mode (bug#75978)

c-ts-common-comment-setup sets up fill-paragraph-function, which
enables filling for comments.

* lisp/progmodes/go-ts-mode.el (go-ts-mode):
(go-mod-ts-mode): Use c-ts-common-comment-setup.
lisp/progmodes/go-ts-mode.el