From 46a02dead281282fc36192e073cf8e95d66c427a Mon Sep 17 00:00:00 2001 From: mattkae Date: Sun, 15 Jan 2023 10:58:59 -0500 Subject: Using treemacs instead of neotree --- lisp/text.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lisp/text.el') diff --git a/lisp/text.el b/lisp/text.el index 6467a4e..835f04d 100644 --- a/lisp/text.el +++ b/lisp/text.el @@ -2,15 +2,25 @@ ;;; Code: (defun setup-text-mode () "Disable word wrap in text mode." + ;(perfect-margin-mode 1) (setq word-wrap t) (require 'flyspell) (flyspell-mode 1) -) + (set-face-attribute 'hl-line nil + :box nil) + (display-line-numbers-mode -1) + ) + +(use-package perfect-margin + :ensure t + :config + (add-hook 'text-mode-hook 'perfect-margin-mode)) (add-hook 'text-mode-hook 'setup-text-mode) (require 'ispell) (setq ispell-program-name (executable-find "hunspell") ispell-dictionary "en_US") + (provide 'text) ;;; text.el ends here -- cgit v1.2.1