mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
Fix go-ts-mode var spec indentation (Bug#75362)
v0.21.1 and onwards changed how this was indented. * lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules): Add rule for var_spec_list.
This commit is contained in:
parent
01464fc882
commit
7f76f872eb
|
|
@ -93,6 +93,7 @@
|
|||
((parent-is "type_spec") parent-bol go-ts-mode-indent-offset)
|
||||
((parent-is "type_switch_statement") parent-bol 0)
|
||||
((parent-is "var_declaration") parent-bol go-ts-mode-indent-offset)
|
||||
((parent-is "var_spec_list") parent-bol go-ts-mode-indent-offset)
|
||||
(no-node parent-bol 0)))
|
||||
"Tree-sitter indent rules for `go-ts-mode'.")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue