Emacs 基础offset值

cc-mode有如下规定:
One of the symbols +, -, ++, –, *, or /These special symbols describe a relative offset in multiples of c-basic-offset:
By defining a style’s indentation in terms of c-basic-offset, you can change the amount of whitespace given to an indentation level while maintaining the same basic shape of your code. Here are the values that the special symbols correspond to:
+ c-basic-offset times 1
– c-basic-offset times -1
++ c-basic-offset times 2
— c-basic-offset times -2
* c-basic-offset times 0.5
/ c-basic-offset times -0.5

Original: https://www.cnblogs.com/leotiger/p/15231326.html
Author: 裘庄三少
Title: Emacs 基础offset值

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/609285/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球