aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules/bard-emacs-lang.el
diff options
context:
space:
mode:
authorbard <[email protected]>2024-01-09 06:18:14 -0500
committerbard <[email protected]>2024-01-09 06:18:14 -0500
commit3188effca42429909be3dc89fe7e796bdf2e570a (patch)
treee6c9338f2fd908fd9fb4222f604b9c20b789f4ba /bard-emacs-modules/bard-emacs-lang.el
parentf370cfbd985588daaed7f3b62c7f8f5933cf55b1 (diff)
cleanup
Diffstat (limited to 'bard-emacs-modules/bard-emacs-lang.el')
-rw-r--r--bard-emacs-modules/bard-emacs-lang.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/bard-emacs-modules/bard-emacs-lang.el b/bard-emacs-modules/bard-emacs-lang.el
index b8da4f4..eebdd68 100644
--- a/bard-emacs-modules/bard-emacs-lang.el
+++ b/bard-emacs-modules/bard-emacs-lang.el
@@ -24,9 +24,14 @@
;;; Commentary:
;;; Code:
+
+;; Snippet directories
+(setq yasnippet-snippets-dir '("/home/bard/.emacs.d/elpa/yasnippet-snippets-20231219.1505/snippets" "/home/bard/.emacs.d/snippets/"))
+
(defun bard/common-modes-hook ()
"Commonly used modes, bundled in one hook."
(display-line-numbers-mode 1)
+ (bard/set-up-whitespace-handling)
(hl-todo-mode 1))
(add-hook 'prog-mode-hook 'bard/common-modes-hook)
@@ -56,5 +61,10 @@
(add-to-list 'exec-path "/home/bard/.cabal/bin")
(add-to-list 'exec-path "/home/bard/.local/bin")
+;; GGTAGS
+(with-eval-after-load 'ggtags
+ (define-key ggtags-mode-map (kbd "M->") nil)
+ (define-key ggtags-mode-map (kbd "M-<") nil))
+
(provide 'bard-emacs-lang.el)
;;; bard-emacs-lang.el ends here