New :editor format module

Centralized code formatting with built-in support for a variety of
languages. Provides the set-formatter! function for defining your own.

Still experimental and needs more testing!
This commit is contained in:
Henrik Lissner 2018-08-22 02:15:44 +02:00
parent c7e6cb981b
commit f51f2948af
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 194 additions and 6 deletions

View file

@ -9,6 +9,7 @@
(set-repl-handler! 'php-mode #'php-boris)
(set-lookup-handlers! 'php-mode :documentation #'php-search-documentation)
(set-formatter! 'php-mode #'php-cs-fixer-fix)
;; `+php-company-backend' uses `company-phpactor', `php-extras-company' or
;; `company-dabbrev-code', in that order.