src.nth.io/

summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-05-02 13:01:32 -0500
committerLuke Hoersten <[email protected]>2026-05-02 13:01:32 -0500
commit4a5c4f1c92acc5e9dac259c0ff1470b112ec3d42 (patch)
tree373a87be1ec7da36890513366db8dd6ac52e03a4 /init.el
parentd4c0d2098dc33c51c88269d7c2188cd94acdd0d5 (diff)
Removed extra ansible stuff.
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/init.el b/init.el
index 0ebd08c..4c5e4f8 100644
--- a/init.el
+++ b/init.el
@@ -124,7 +124,6 @@
;;; custom requires
(require 'c-init)
-(require 'ansible-init)
;;; jinx (spell checking)
@@ -132,16 +131,14 @@
(global-jinx-mode t) ; auto-enable in text-mode, prog-mode, conf-mode
-;;; line numbers
-(global-display-line-numbers-mode t)
-
-
;;; prog-mode - applies to all programming-based modes
+(add-hook 'prog-mode-hook 'display-line-numbers-mode)
(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)
(add-hook 'prog-mode-hook 'flymake-mode) ; linting/diagnostics
;;; text-mode - applies to all text-based modes
+(add-hook 'text-mode-hook 'display-line-numbers-mode)
(add-hook 'text-mode-hook 'rainbow-delimiters-mode)
(add-hook 'text-mode-hook 'turn-on-auto-fill) ; wrap prose at fill-column
@@ -304,6 +301,7 @@
;;; project.el
+(setq project-vc-extra-root-markers '(".project")) ; non-VC project roots
(with-eval-after-load 'project
(add-to-list 'project-switch-commands '(ghostel-project "Ghostel" ?s) t)
(add-to-list 'project-switch-commands '(claude-code-ide "Claude" ?c) t))