mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
dir-locals: Treat G_* macros as including a semicolon
Otherwise without appending a semicolon explicitly to the macros, emacs will insist on indentation.
This commit is contained in:
parent
9b5508c627
commit
9f9ea16509
1 changed files with 7 additions and 1 deletions
|
@ -1 +1,7 @@
|
|||
((nil . ((indent-tabs-mode . nil))))
|
||||
((nil . ((indent-tabs-mode . nil)))
|
||||
;; thanks to Mohammed Sadiq, see https://source.puri.sm/Librem5/calls/-/merge_requests/332#note_159469
|
||||
(c-mode . ((c-macro-names-with-semicolon
|
||||
. ("G_BEGIN_DECLS" "G_END_DECLS" "G_DECLARE_FINAL_TYPE" "G_DEFINE_QUARK"
|
||||
"G_DECLARE_DERIVABLE_TYPE" "G_DECLARE_INTERFACE" "G_DEFINE_TYPE"
|
||||
"G_DEFINE_TYPE_WITH_PRIVATE" "G_DEFINE_ABSTRACT_TYPE"
|
||||
"G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE")))))
|
||||
|
|
Loading…
Reference in a new issue