diff options
author | Yuchen Pei <id@ypei.org> | 2024-05-23 21:40:33 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-05-23 21:40:33 +1000 |
commit | 056d3050ebecdcfa8f0cdd353a925e58167ac867 (patch) | |
tree | 2ab8f0e70c0098619ab3fc6f4b421a66e49e5ab0 /mariadb-server/sql | |
parent | 292e82a58af2b74c030511de0b705653b906c4e0 (diff) |
[emacs] c++ config
tempel template for #ifdef block
Diffstat (limited to 'mariadb-server/sql')
-rw-r--r-- | mariadb-server/sql/.dir-locals.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mariadb-server/sql/.dir-locals.el b/mariadb-server/sql/.dir-locals.el index 4093b3a..2daa20a 100644 --- a/mariadb-server/sql/.dir-locals.el +++ b/mariadb-server/sql/.dir-locals.el @@ -5,6 +5,11 @@ (c-offsets-alist . ( (inline-open . 0) + (substatement . +) + (statement-block-intro . +) + (arglist-cont-nonempty c-lineup-gcc-asm-reg c-lineup-arglist) + (inclass . +) + (defun-block-intro . +) )) (comment-start . "/* ") (comment-end . " */") @@ -17,6 +22,10 @@ (c-offsets-alist . ( (inline-open . 0) + (substatement . +) + (statement-block-intro . +) + (arglist-cont-nonempty c-lineup-gcc-asm-reg c-lineup-arglist) + (inclass . +) )) (comment-start . "/* ") (comment-end . " */") |