We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713d078 commit dc6e5f3Copy full SHA for dc6e5f3
.dir-locals.el
@@ -1,9 +1,11 @@
1
-;; First (minimal) attempt at configuring Emacs CC mode for the BLIS
2
-;; layout requirements.
+;; Emacs C mode formatting for the BLIS layout requirements.
3
((c-mode . ((c-file-style . "stroustrup")
4
- (c-basic-offset . 4)
5
- (comment-start . "// ")
6
- (comment-end . "")
7
- (indent-tabs-mode . t)
8
- (tab-width . 4)
9
- (parens-require-spaces . nil))))
+ (c-basic-offset . 4)
+ (comment-start . "// ")
+ (comment-end . "")
+ (indent-tabs-mode . t)
+ (tab-width . 4)
+ (parens-require-spaces . nil)
+ (require-final-newline . t)
10
+ (eval add-hook `before-save-hook `delete-trailing-whitespace)
11
+ )))
0 commit comments