2022-04-22 07:57:26 +00:00
|
|
|
((nil . ((indent-tabs-mode . nil)
|
2024-09-11 13:09:41 +00:00
|
|
|
(projectile-project-compilation-cmd . "meson compile -C _build")
|
|
|
|
(projectile-project-test-cmd . "meson test -C _build")
|
|
|
|
(projectile-project-configure-cmd . "meson _build --wipe")
|
2022-06-22 06:18:28 +00:00
|
|
|
(projectile-project-compilation-dir . ".")
|
|
|
|
(projectile-project-run-cmd . "_build/run -vvv")
|
|
|
|
))
|
2021-06-11 08:08:54 +00:00
|
|
|
;; 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"
|
2021-07-09 15:47:39 +00:00
|
|
|
"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"
|
2022-04-25 10:58:17 +00:00
|
|
|
"G_DEFINE_FINAL_TYPE"
|
|
|
|
"G_DEFINE_FINAL_TYPE_WITH_CODE" "G_DEFINE_FINAL_TYPE_WITH_PRIVATE"
|
2022-06-22 06:20:19 +00:00
|
|
|
))
|
|
|
|
(c-file-style . "linux")
|
|
|
|
(c-basic-offset . 2)
|
2023-07-19 10:41:46 +00:00
|
|
|
(indent-tabs-mode . nil)
|
|
|
|
))
|
2023-07-19 10:41:49 +00:00
|
|
|
(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)
|
|
|
|
))
|
2023-07-19 10:41:46 +00:00
|
|
|
)
|