(c++-ts-mode): Fix bug#80682

* lisp/progmodes/c-ts-mode.el (c++-ts-mode): Set
`editorconfig-indent-size-vars` since it can't be guessed.
This commit is contained in:
Stefan Monnier
2026-03-27 09:56:55 -04:00
parent db412283d6
commit de381366ea

View File

@@ -1567,6 +1567,7 @@ recommended to enable `electric-pair-mode' with this mode."
(funcall c-ts-mode-indent-style)
(c-ts-mode--simple-indent-rules
'cpp c-ts-mode-indent-style)))
(setq-local editorconfig-indent-size-vars '(c-ts-indent-offset))
;; Font-lock.
(setq-local treesit-font-lock-settings