Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
And as a side-note, EditorConfig is definitely worth a look too: https://editorconfig.org/
I assume you’re using solidity-mode to edit solidity files. If so, it looks like solidity-mode is derived from Emacs’ built-in c-mode. And as far I can tell, solidity-mode doesn’t do anything to customize or expose options for customizing indent width. Which means it will use the same settings as c-mode, which sadly does not use Emacs’ defaults as it seems to need a bunch of custom logic depending on context. There’s a whole wiki page about it: https://www.emacswiki.org/emacs/IndentingC