about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-01-10 21:37:16 -0600
committerCase Duckworth2021-01-10 21:37:30 -0600
commitc124cb60e70ab0c0eb15d3e06e846d5019155506 (patch)
tree3a31d347cedf7e445ce0c61004ecd10e146a671a
parentAdd inf-janet-mode (diff)
downloademacs-c124cb60e70ab0c0eb15d3e06e846d5019155506.tar.gz
emacs-c124cb60e70ab0c0eb15d3e06e846d5019155506.zip
Add PHP mode
-rw-r--r--README.md12
-rw-r--r--config.org10
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.
397 (run-at-time (nth 1 (split-string (sunrise-sunset))) 397 (run-at-time (nth 1 (split-string (sunrise-sunset)))
398 (* 60 60 24) 398 (* 60 60 24)
399 (lambda () 399 (lambda ()
400 (sml/apply-theme 'light)
401 (modus-themes-load-operandi))) 400 (modus-themes-load-operandi)))
402 401
403 ;; sunset 402 ;; sunset
404 (run-at-time (nth 4 (split-string (sunrise-sunset))) 403 (run-at-time (nth 4 (split-string (sunrise-sunset)))
405 (* 60 60 24) 404 (* 60 60 24)
406 (lambda () 405 (lambda ()
407 (sml/apply-theme 'dark) 406 (modus-themes-load-vivendi)))
408 (modus-themes-load-vivendi)
409 (sml/setup)))
410 407
411 408
412### Fonts 409### Fonts
@@ -1044,6 +1041,13 @@ I’ve pretty much cribbed this from [recentf-remove-sudo-tramp-prefix](https://
1044 '("\\.ini\\'" . ini-mode)) 1041 '("\\.ini\\'" . ini-mode))
1045 1042
1046 1043
1044### PHP
1045
1046see also [this post by Fermin M](https://sasanidas.gitlab.io/f-site/php-development/), it looks really useful.
1047
1048 (straight-use-package 'php-mode)
1049
1050
1047# Writing 1051# Writing
1048 1052
1049 1053
diff --git a/config.org b/config.org index 870d6c3..d926c32 100644 --- a/config.org +++ b/config.org
@@ -5,7 +5,7 @@
5#+EXPORT_FILE_NAME: README.md 5#+EXPORT_FILE_NAME: README.md
6#+OPTIONS: toc:nil 6#+OPTIONS: toc:nil
7#+BANKRUPTCY_COUNT: 3.2 7#+BANKRUPTCY_COUNT: 3.2
8#+Time-stamp: <2021-01-09 17:35:42 acdw> 8#+Time-stamp: <2021-01-10 21:37:08 acdw>
9 9
10* Basics 10* Basics
11 11
@@ -1225,6 +1225,14 @@ For right now, I’m /just/ using Anzu – I don’t like parts of =isearch= but
1225 '("\\.ini\\'" . ini-mode)) 1225 '("\\.ini\\'" . ini-mode))
1226 #+end_src 1226 #+end_src
1227 1227
1228*** PHP
1229
1230see also [[https://sasanidas.gitlab.io/f-site/php-development/][this post by Fermin M]], it looks really useful.
1231
1232#+BEGIN_SRC emacs-lisp
1233 (straight-use-package 'php-mode)
1234#+end_src
1235
1228* Writing 1236* Writing
1229 1237
1230** Visual fill column 1238** Visual fill column