mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-15 21:05:36 +00:00
37 lines
1.7 KiB
EmacsLisp
37 lines
1.7 KiB
EmacsLisp
((nil . ((indent-tabs-mode . nil)
|
|
(projectile-project-compilation-cmd . "ninja -C _build")
|
|
(projectile-project-test-cmd . "ninja -C _build test")
|
|
(projectile-project-configure-cmd . "meson . _build")
|
|
(projectile-project-compilation-dir . ".")
|
|
(projectile-project-run-cmd . "_build/run -vvv")
|
|
))
|
|
;; 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_ABSTRACT_TYPE" "G_DEFINE_ABSTRACT_TYPE_WITH_CODE"
|
|
"G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE"
|
|
"G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC" "G_DEFINE_AUTO_CLEANUP_FREE_FUNC"
|
|
"G_DEFINE_AUTOPTR_CLEANUP_FUNC"
|
|
"G_DEFINE_DYNAMIC_TYPE" "G_DEFINE_DYNAMIC_TYPE_EXTENDED"
|
|
"G_DEFINE_INTERFACE" "G_DEFINE_INTERFACE_WITH_CODE"
|
|
"G_DEFINE_TYPE" "G_DEFINE_TYPE_EXTENDED"
|
|
"G_DEFINE_TYPE_WITH_CODE" "G_DEFINE_TYPE_WITH_PRIVATE"
|
|
"G_DEFINE_FINAL_TYPE"
|
|
"G_DEFINE_FINAL_TYPE_WITH_CODE" "G_DEFINE_FINAL_TYPE_WITH_PRIVATE"
|
|
))
|
|
(c-file-style . "linux")
|
|
(c-basic-offset . 2)
|
|
(indent-tabs-mode . nil)
|
|
))
|
|
(setq auto-mode-alist (cons '("\\.ui$" . nxml-mode) auto-mode-alist))
|
|
(nxml-mode . (
|
|
(indent-tabs-mode . nil)
|
|
))
|
|
(css-mode . (
|
|
(css-indent-offset . 2)
|
|
))
|
|
(meson-mode . (
|
|
(indent-tabs-mode . nil)
|
|
))
|
|
)
|