Created
January 21, 2019 03:01
-
-
Save zhuzhonghua/cdeac8e1fa9c3e72b82e86a0522063bd to your computer and use it in GitHub Desktop.
解决cpp中public/private/protected等的缩进问题
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
头文件进入c++-mode | |
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode)) | |
access-label的缩进设置成-- | |
((access-label . --)) | |
C-x C-o 查看设置某行对应label的缩进值 | |
C-x C-s 查看整体缩进值 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment