diff --git a/README.md b/README.md index abfd039..322b184 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ This is an attempt to learn about Emacs and its ecosystem by creating a custom c * make `C-x` (and others) accessible via `SPC x` * disable welcome buffer (or put something funnt there) * themed right-click menus - * disable line numbers in treemacs buffer * update diff-hl after committing things with magit * enable which-key completions and ido in dired-mode diff --git a/init.el b/init.el index 9c6cc7f..2333ebc 100644 --- a/init.el +++ b/init.el @@ -36,7 +36,7 @@ (setq column-number-mode t) ;; display line numbers on the left -(global-display-line-numbers-mode) +(add-hook 'prog-mode-hook #'display-line-numbers-mode) ;; indicate changed lines in version-controlled files (global-diff-hl-mode)