Files
.emacs.d/modules/languages/siren-makefile.el
Jim Myhrberg 0eedc37603 feat(editor): add custom yank-indent package
When yank-indent-mode is enabled, yanked (pasted) text is indented based
on the indent rules of the current major mode. It has a
global-yank-indent-mode too which by default excludes a long list of
known indentation sensitive modes with which this approach does not work
very well.

It is based on some random hacky snippets elisp I've been using for over
a decade. Said snippets are themselves based on some random snippets I
found online, and since morphed into the weird monster they had become.
2023-04-16 03:13:14 +01:00

28 lines
610 B
EmacsLisp

;;; siren-makefile.el --- jimeh's Emacs Siren: makefile-mode configuration.
;;; Commentary:
;; Basic configuration for makefile-mode.
;;; Code:
(require 'siren-display-indentation)
(require 'siren-makefile-executor)
(use-package make-mode
:straight (:type built-in)
:hook
(makefile-mode . siren-makefile-mode-setup)
:general
(:keymaps 'makefile-mode-map
"C-c C-m" 'makefile-executor-execute-project-target)
:preface
(defun siren-makefile-mode-setup ()
(siren-display-indentation -1)
(setq-local tab-width 4)))
(provide 'siren-makefile)
;;; siren-makefile.el ends here