My only tab-related init.el config is:

(setq-default indent-tabs-mode nil) ;; indentation can't insert tabs
(setq-default tab-width 4) ;; make tab-width 4 (spaces)

but in c-ts-mode I have that the indentation only does and works with 2 spaces (I need to indent-region whole file otherwise to fix it). How can I make this back to 4?

  • SS4L1234OPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    c-basic-offset did not work. that was the first thing i tried.