diff options
author | Evgeni Kolev <evgenysw@gmail.com> | 2022-12-29 17:49:40 +0200 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-01-08 20:32:51 -0800 |
commit | dc911e4ba5ccfc99d66504b6e99c9abcf3e617f3 (patch) | |
tree | af48bc543809c14bfb657a39161c1a519c5e145a /lisp/emacs-lisp | |
parent | 20f36c8f6f98478dd86ddfe93da2803de2518ea2 (diff) | |
download | emacs-dc911e4ba5ccfc99d66504b6e99c9abcf3e617f3.tar.gz emacs-dc911e4ba5ccfc99d66504b6e99c9abcf3e617f3.tar.bz2 emacs-dc911e4ba5ccfc99d66504b6e99c9abcf3e617f3.zip |
Improve go-ts-mode Imenu, navigation and electric pair (bug#60407)
The Imenu items are extended to support "Method", "Struct",
"Interface", "Alias" and "Type".
go-ts-mode is updated to use the Imenu facility added in commit
b39dc7ab27a696a8607ab859aeff3c71509231f5.
Variable electric-indent-chars is set in order to improve integration
with Electric Pair mode.
* lisp/progmodes/go-ts-mode.el (go-ts-mode--imenu-1) (go-ts-mode--imenu):
Remove functions.
(go-ts-mode--defun-name, go-ts-mode--interface-node-p)
(go-ts-mode--struct-node-p, go-ts-mode--other-type-node-p)
(go-ts-mode--alias-node-p): New functions.
(go-ts-mode): Improve Imenu settings, navigation, add Electric Pair
mode settings.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions