diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2020-04-07 18:52:02 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2020-04-07 18:52:02 +0200 |
| commit | 17781ffe6307b0ee12872e3f093bcef4c17f4d9a (patch) | |
| tree | f87c9038f8987b07cd21265161c47c47848b4e95 /.emacs.d/init.org | |
| parent | 2da2e5ddff4073b5de58704ef9980a817785a983 (diff) | |
| download | dotfiles-17781ffe6307b0ee12872e3f093bcef4c17f4d9a.tar.gz dotfiles-17781ffe6307b0ee12872e3f093bcef4c17f4d9a.zip | |
emacs: added highlight-numbers-mode
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.emacs.d/init.org')
| -rw-r--r-- | .emacs.d/init.org | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.emacs.d/init.org b/.emacs.d/init.org index d917086..07fbff0 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -263,10 +263,13 @@ I'm using "Droid Sans Mono" simply because I've grown used to it. #+END_SRC I've hacked my own theme called [[https://github.com/mssola/soria][soria]]. This theme combines the vim theme -[[http://www.vim.org/scripts/script.php?script_id=2140][xoria256]] with the [[http://opensuse.github.io/branding-guidelines/][openSUSE branding guidelines]]. +[[http://www.vim.org/scripts/script.php?script_id=2140][xoria256]] with the [[http://opensuse.github.io/branding-guidelines/][openSUSE branding guidelines]]. Moreover, let's also enable +=highlight-numbers-mode=, so all numbers (regardless of the format) are properly +highlighted: #+BEGIN_SRC elisp - (load-theme 'soria t) +(load-theme 'soria t) +(add-hook 'prog-mode-hook 'highlight-numbers-mode) #+END_SRC When hacking your own theme, sometimes you want to know what face is the one |
