Add line number

This commit is contained in:
Dita Aji Pratama 2024-10-20 21:55:46 +07:00
parent be91d41f58
commit b9e7107716

View File

@ -60,6 +60,11 @@ version 2022-06-09"
; disable auto save ; disable auto save
(setq auto-save-default nil) (setq auto-save-default nil)
;; Enable line numbers globally
(global-display-line-numbers-mode t)
;; Disable line numbers for Treemacs
(add-hook 'treemacs-mode-hook (lambda () (display-line-numbers-mode 0)))
;; For example, set the default tab width to 4 spaces ;; For example, set the default tab width to 4 spaces
(setq-default tab-width 4) (setq-default tab-width 4)
;; For Python mode, set the indentation style ;; For Python mode, set the indentation style