Reformat core-ui, add outline headers to core-editor

This commit is contained in:
Henrik Lissner 2019-05-17 01:11:52 -04:00
parent 20720cda61
commit ba92adf7b3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 9 additions and 18 deletions

View file

@ -64,13 +64,13 @@ detected.")
;; ;;
;; Extra file extensions to support ;;; Extra file extensions to support
(push '("/LICENSE\\'" . text-mode) auto-mode-alist) (push '("/LICENSE\\'" . text-mode) auto-mode-alist)
;; ;;
;; Built-in plugins ;;; Built-in plugins
(def-package! server (def-package! server
:when (display-graphic-p) :when (display-graphic-p)

View file

@ -223,7 +223,7 @@ read-only or not file-visiting."
;; prompts the user for confirmation when deleting a non-empty frame ;; prompts the user for confirmation when deleting a non-empty frame
(global-set-key [remap delete-frame] #'doom/delete-frame) (global-set-key [remap delete-frame] #'doom/delete-frame)
;; Use this instead of whitespace-mode because it's faster (implemented in C) ;; Use this instead of `whitespace-mode' because it's faster (implemented in C)
(setq-default show-trailing-whitespace t) (setq-default show-trailing-whitespace t)
;; Except in the minibuffer and read-only/special buffers ;; Except in the minibuffer and read-only/special buffers
(setq-hook! 'minibuffer-setup-hook show-trailing-whitespace nil) (setq-hook! 'minibuffer-setup-hook show-trailing-whitespace nil)
@ -240,12 +240,6 @@ read-only or not file-visiting."
;; ;;
;;; Built-in packages ;;; Built-in packages
;; Disable these because whitespace should be customized programmatically
;; (through `whitespace-style'), and not through these commands.
(put 'whitespace-toggle-options 'disabled t)
(put 'global-whitespace-toggle-options 'disabled t)
(def-package! ediff (def-package! ediff
:defer t :defer t
:init :init
@ -313,15 +307,7 @@ read-only or not file-visiting."
(show-paren-mode +1)) (show-paren-mode +1))
;; The native border "consumes" a pixel of the fringe on righter-most splits, ;;;###package whitespace
;; `window-divider' does not. Available since Emacs 25.1.
(setq-default window-divider-default-places t
window-divider-default-bottom-width 1
window-divider-default-right-width 1)
(add-hook 'doom-init-ui-hook #'window-divider-mode)
;; `whitespace-mode'
(setq whitespace-line-column nil (setq whitespace-line-column nil
whitespace-style whitespace-style
'(face indentation tabs tab-mark spaces space-mark newline newline-mark '(face indentation tabs tab-mark spaces space-mark newline newline-mark
@ -331,6 +317,11 @@ read-only or not file-visiting."
(newline-mark ?\n [ ?\n]) (newline-mark ?\n [ ?\n])
(space-mark ?\ [] [?.]))) (space-mark ?\ [] [?.])))
;; Disable these because whitespace should be customized programmatically
;; (through `whitespace-style'), and not through these commands.
(put 'whitespace-toggle-options 'disabled t)
(put 'global-whitespace-toggle-options 'disabled t)
;; ;;
;;; Third party packages ;;; Third party packages