summaryrefslogtreecommitdiff
path: root/lisp/text.el
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2022-09-03 12:01:26 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2022-09-03 12:01:26 -0400
commit6257322d751dc36eaaf509682da164f6aef3ff90 (patch)
tree1eca1af034f590e13dd3ff82588488cd8b2b3195 /lisp/text.el
parentf9893ba2781cf0b31044d1686632863278392fc8 (diff)
Big upgrade to javascript/typescript to use a lanugage server
Diffstat (limited to 'lisp/text.el')
-rw-r--r--lisp/text.el14
1 files changed, 6 insertions, 8 deletions
diff --git a/lisp/text.el b/lisp/text.el
index 4e1f8bf..4e7c410 100644
--- a/lisp/text.el
+++ b/lisp/text.el
@@ -1,12 +1,10 @@
-;; Text file section
+
+;;; Code:
(defun setup-text-mode ()
+ "Disable word wrap in text mode."
(setq word-wrap t)
- (global-hl-line-mode 0)
- )
-
-;;(require 'flyspell)
-;;(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t)
-;;(add-hook 'text-mode flyspell-mode)
-
+)
+(add-hook 'text-mode-hook 'setup-text-mode)
(provide 'text)
+;; text.el ends here