You disable it in the keyboard settings, which disables it for all apps which use the keyboard. To see the keyboard settings, with the keyboard displayed
- long press on the , key,
- press on the gear wheel which appears
- Select ‘Android keyboard settings (AOSP)’
- Select ‘Text correction’
- Disable everything
As far as I know, it is not possible to configure this setting differently for different apps