Skip to content

Commit

Permalink
feat(init): more first file special hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jan 16, 2024
1 parent 9bb5b84 commit 55e6bb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ goes idle."
;; ========= Make some special hooks =========
(+make-first-file-hook! 'org "\\.org$")
(+make-first-file-hook! 'elisp "\\.elc?$")
(+make-first-file-hook! 'python (rx "." (or "py" "pyw" "pyx" "pyz" "pyzw") eol))
(+make-first-file-hook! 'c/c++ (rx "." (or "c" "cpp" "cxx" "cc" "c++" "h" "hpp" "hxx" "hh" "h++" "ixx" "cppm" "cxxm" "c++m" "ccm") eol))
(+make-first-file-hook! nil ".")

;; ========= Load MinEmacs packages and user customization =========
Expand Down

0 comments on commit 55e6bb3

Please sign in to comment.