mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Merge from origin/emacs-29
59365f9285* lisp/progmodes/go-ts-mode.el: Use treesit-language-avai...56cd810b9dDon’t signal warning when loading go-ts-mode.el without g...b06d551966Fix c-ts-mode empty line indentation (bug#61893)6b2720778dImprove tree-sitter's prev-sibling indent anchor
This commit is contained in:
commit
a798a29f75
4 changed files with 49 additions and 18 deletions
|
|
@ -427,7 +427,7 @@ what the parent of the node would be if it were a node."
|
|||
|
||||
(treesit-major-mode-setup)))
|
||||
|
||||
(if (treesit-ready-p 'gomod)
|
||||
(if (treesit-language-available-p 'gomod)
|
||||
(add-to-list 'auto-mode-alist '("/go\\.mod\\'" . go-mod-ts-mode)))
|
||||
|
||||
(provide 'go-ts-mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue