You can indent by file type or by project. To configure it using filetype, copy filetypes.filetypename from the data folder of your Geany installation to the ~ / .config / geany / filedefs folder and change
[indentation]
width=4
type=1
what do you like. See manual for more details .
, .