mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-26 03:41:59 -08:00
Add :ui fci module for fill-column-indicator
This commit is contained in:
parent
56b4cba964
commit
e918040e70
3 changed files with 34 additions and 0 deletions
16
modules/ui/fci/autoload.el
Normal file
16
modules/ui/fci/autoload.el
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
;;; ui/fci/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar-local +fci-last-state nil)
|
||||
|
||||
;;;###autoload
|
||||
(defun +fci|disable-when-company-activates (&rest ignore)
|
||||
"TODO"
|
||||
(setq +fci-last-state fci-mode)
|
||||
(when fci-mode
|
||||
(fci-mode -1)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +fci|enable-when-company-deactivates (&rest ignore)
|
||||
"TODO"
|
||||
(when +fci-last-state
|
||||
(fci-mode 1)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue