zilongshanren / spacemacs-private

My Spacemacs config
486 stars 196 forks source link

c-mode #if 预处理 缩进问题 #167

Open miraclemore opened 6 years ago

miraclemore commented 6 years ago

c-mode file-style "linux" tab-width 为 8 indent-tabs-modet 根据以上设定, 缩进都是8个空格的宽度 输入一段代码, 然后在中间插入#if #else #endif 预处理条件时 也会自动缩进为8个空格宽度 请问如何将其设定为输入#if 之类的预处理条件时 自动关闭缩进?