Move vi-tilde-fringe to new ui/vi-tilde-fringe module
This commit is contained in:
parent
cd3c51f489
commit
582e69db05
5 changed files with 17 additions and 9 deletions
|
@ -311,13 +311,6 @@ local value, whether or not it's permanent-local. Therefore, we cycle
|
|||
:config (setq rainbow-delimiters-max-face-count 3)
|
||||
:init (add-hook 'lisp-mode-hook #'rainbow-delimiters-mode))
|
||||
|
||||
;; indicators for empty lines past EOF
|
||||
(def-package! vi-tilde-fringe
|
||||
:commands (global-vi-tilde-fringe-mode vi-tilde-fringe-mode)
|
||||
:init
|
||||
(add-hook 'doom-init-ui-hook #'global-vi-tilde-fringe-mode)
|
||||
(defun doom|disable-vi-tilde-fringe () (vi-tilde-fringe-mode -1)))
|
||||
|
||||
;; For a distractions-free-like UI, that dynamically resizes margets and can
|
||||
;; center a buffer.
|
||||
(def-package! visual-fill-column
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
(package! nlinum-hl)
|
||||
(package! nlinum-relative))
|
||||
(package! rainbow-delimiters)
|
||||
(package! vi-tilde-fringe)
|
||||
(package! visual-fill-column)
|
||||
|
||||
;; core-popups.el
|
||||
|
|
|
@ -73,7 +73,8 @@ whose dimensions may not be fully initialized by the time this is run."
|
|||
(add-hook 'window-setup-hook #'+doom-dashboard|init)
|
||||
(add-hook 'after-make-frame-functions #'+doom-dashboard|make-frame)
|
||||
(add-hook 'server-visit-hook #'+doom-dashboard|server-visit)
|
||||
(add-hook '+doom-dashboard-mode-hook #'doom|disable-vi-tilde-fringe)
|
||||
(when (featurep! :ui vi-tilde-fringe)
|
||||
(add-hook '+doom-dashboard-mode-hook #'+vi-tilde-fringe|disable))
|
||||
|
||||
|
||||
;;
|
||||
|
|
11
modules/ui/vi-tilde-fringe/config.el
Normal file
11
modules/ui/vi-tilde-fringe/config.el
Normal file
|
@ -0,0 +1,11 @@
|
|||
;;; ui/vi-tilde-fringe/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;; indicators for empty lines past EOF
|
||||
(def-package! vi-tilde-fringe
|
||||
:commands (global-vi-tilde-fringe-mode vi-tilde-fringe-mode)
|
||||
:init
|
||||
(add-hook 'doom-init-ui-hook #'global-vi-tilde-fringe-mode)
|
||||
:config
|
||||
(defun +vi-tilde-fringe|disable ()
|
||||
(vi-tilde-fringe-mode -1)))
|
||||
|
4
modules/ui/vi-tilde-fringe/packages.el
Normal file
4
modules/ui/vi-tilde-fringe/packages.el
Normal file
|
@ -0,0 +1,4 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; ui/vi-tilde-fringe/packages.el
|
||||
|
||||
(package! vi-tilde-fringe)
|
Loading…
Add table
Add a link
Reference in a new issue