Skip to content

Commit f368151

Browse files
Update init file
1 parent 2d417bc commit f368151

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

tutorial/ess-init.el

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66
;;
77
;;; Commentary:
88
;; Provides possible inspiration for customizing ESS (without any warranty).
9-
;; Should be adapted according to your own setup, in particular for yasnippet (l. 115).
9+
;; Should be adapted according to your own setup, in particular for yasnippet (l. 126).
1010
;;
1111
;;; Code:
1212

13+
;; Early birds:
14+
(package-initialize)
15+
(setq inhibit-splash-screen t)
16+
1317
;; Make sure that use-package is installed:
1418
(unless (package-installed-p 'use-package)
1519
(package-refresh-contents)
@@ -18,6 +22,13 @@
1822
(eval-when-compile
1923
(require 'use-package))
2024

25+
;; Example of theme:
26+
(use-package solarized-theme
27+
:ensure t
28+
:config
29+
(setq solarized-distinct-fringe-background t)
30+
(load-theme 'solarized-light t))
31+
2132
;; Code visibility:
2233
(setq ess-eval-visibly 'nowait)
2334

@@ -34,7 +45,7 @@
3445
(ess-fl-keyword:operators)
3546
(ess-fl-keyword:delimiters)
3647
(ess-fl-keyword:=)
37-
(ess-R-fl-keyword:F&T . t))))
48+
(ess-R-fl-keyword:F&T . t)))
3849

3950
;; Activate global mode for parenthesis matching:
4051
(show-paren-mode)

0 commit comments

Comments
 (0)