Sublime Forum

Indentation/Fold Issue

#1

Hi,

I have a small issue related to automatic indentation and code folding in the C programming language. When I use include statements at the top of my files I always get auto-indented by 1 column to the right. The code looks like this (I used underscore because leading whitespaces are removed):

#include <header1.h>
_#include <header2.h>
_#include <header3.h>

Furthermore the first statement gets a fold marker. But I don’t want to fold include statements. How can this behavior be disabled?

Packages I use that are possibly related to this:

C Improved
Syntax Fold

The setting “trim_automatic_white_space” has no impact on the issue and even after removing the syntax fold package the behavior remained the same.

Help appreciated

0 Likes