• 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: November 19th, 2023

help-circle
  • bttertone@alien.topBtoEmacsC mode indentation weird
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I think you’re looking for ‘c-basic-offset’, although I’d echo the sentiment that you should use a formatter instead. For that you can check out the reformatter package, which lets you setup hooks based on the programming mode to invoke the formatter of your choice, e.g. setup a hook for c/c++ to use clang format or whatever you’d