diff --git a/init.d/text/web.el b/init.d/text/web.el index 26cd88a..2c30dc6 100644 --- a/init.d/text/web.el +++ b/init.d/text/web.el @@ -1,6 +1,6 @@ ;;; web.el --- Settings for web stuff. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-18T14:58:52+0100> +;; Time-stamp: <2020-03-27T18:12:31+0100> ;;; Commentary: @@ -11,37 +11,23 @@ ;; Use company auto-completion for (X)HTML. (use-package company-web :after (company) - - :config - (add-to-list 'company-backends 'company-web-html) - ) + :config (add-to-list 'company-backends 'company-web-html)) (use-package web-mode :custom (web-mode-markup-indent-offset 2) ; Default indentation level. - - :mode - ("\\.[ps]?html?$" . web-mode) - ("\\.tmpl$" . web-mode) ; Gitea templates. - ("\\.php$" . web-mode) - - :hook - (web-mode . (lambda () (set-fill-column 100))) - ) + :mode (("\\.[ps]?html?$" . web-mode) + ("\\.tmpl$" . web-mode) ; Gitea templates. + ("\\.php$" . web-mode)) + :hook (web-mode . (lambda () (set-fill-column 100)))) ;; Read EPUB ebooks. (use-package nov - :custom - (nov-text-width fill-column) - - :custom-face - (variable-pitch ((t (:inherit variable-pitch - :family "Source Serif Pro" - :height 1.4)))) - - :mode - ("\\.epub$" . nov-mode) - ) + :custom (nov-text-width fill-column) + :custom-face (variable-pitch ((t (:inherit variable-pitch + :family "Source Serif Pro" + :height 1.4)))) + :mode ("\\.epub$" . nov-mode)) (provide 'text/web) ;;; web.el ends here