From c124cb60e70ab0c0eb15d3e06e846d5019155506 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 10 Jan 2021 21:37:16 -0600 Subject: Add PHP mode --- README.md | 12 ++++++++---- config.org | 10 +++++++++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f2e948c..9450ea5 100644 --- a/README.md +++ b/README.md @@ -397,16 +397,13 @@ helper function, though, to add things to the whitelist. (run-at-time (nth 1 (split-string (sunrise-sunset))) (* 60 60 24) (lambda () - (sml/apply-theme 'light) (modus-themes-load-operandi))) ;; sunset (run-at-time (nth 4 (split-string (sunrise-sunset))) (* 60 60 24) (lambda () - (sml/apply-theme 'dark) - (modus-themes-load-vivendi) - (sml/setup))) + (modus-themes-load-vivendi))) ### Fonts @@ -1044,6 +1041,13 @@ I’ve pretty much cribbed this from [recentf-remove-sudo-tramp-prefix](https:// '("\\.ini\\'" . ini-mode)) +### PHP + +see also [this post by Fermin M](https://sasanidas.gitlab.io/f-site/php-development/), it looks really useful. + + (straight-use-package 'php-mode) + + # Writing diff --git a/config.org b/config.org index 870d6c3..d926c32 100644 --- a/config.org +++ b/config.org @@ -5,7 +5,7 @@ #+EXPORT_FILE_NAME: README.md #+OPTIONS: toc:nil #+BANKRUPTCY_COUNT: 3.2 -#+Time-stamp: <2021-01-09 17:35:42 acdw> +#+Time-stamp: <2021-01-10 21:37:08 acdw> * Basics @@ -1225,6 +1225,14 @@ For right now, I’m /just/ using Anzu – I don’t like parts of =isearch= but '("\\.ini\\'" . ini-mode)) #+end_src +*** PHP + +see also [[https://sasanidas.gitlab.io/f-site/php-development/][this post by Fermin M]], it looks really useful. + +#+BEGIN_SRC emacs-lisp + (straight-use-package 'php-mode) +#+end_src + * Writing ** Visual fill column -- cgit 1.4.1-21-gabe81