Add line number
This commit is contained in:
parent
be91d41f58
commit
b9e7107716
5
init.el
5
init.el
@ -60,6 +60,11 @@ version 2022-06-09"
|
||||
; disable auto save
|
||||
(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
|
||||
(setq-default tab-width 4)
|
||||
;; For Python mode, set the indentation style
|
||||
|
Loading…
Reference in New Issue
Block a user