Enable relative line numbers in program-mode
This commit is contained in:
parent
68afa8fc08
commit
ad28328123
1 changed files with 10 additions and 0 deletions
10
config.org
10
config.org
|
|
@ -687,6 +687,16 @@ On-the-fly syntax checking.
|
|||
(add-hook 'prog-mode-hook 'company-mode)
|
||||
#+END_SRC
|
||||
|
||||
** (Relative) Line numbers
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package linum-relative
|
||||
:ensure t
|
||||
:config
|
||||
(setq linum-relative-current-symbol "")
|
||||
(add-hook 'prog-mode-hook 'linum-relative-mode))
|
||||
#+END_SRC
|
||||
|
||||
** C/C++ mode
|
||||
|
||||
*** Flycheck
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue