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

@ -67,6 +67,4 @@
(def-package! fish-mode
:when (featurep! +fish)
:defer t
:config
(add-hook! fish-mode
(add-hook 'before-save-hook #'fish_indent-before-save)))
:config (set-formatter! 'fish-mode #'fish_indent))