From 2fcb5775b6c43e45c4c0133c2aa1b80d55944d9f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 16 Sep 2015 23:21:49 -0400 Subject: Remove custom ESS indentation style I think I was using a custom one mainly to get ggplot indentation how I wanted, but with recent ESS versions, my style now seems broken (continued ggplot lines aren't indented) and the default style seems to support continued ggplot statements better (e.g., the variable ess-offset-continued), so switch back to the default style for a while and see how it goes. --- lisp/init-ess.el | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lisp') diff --git a/lisp/init-ess.el b/lisp/init-ess.el index 23dc3ba..1739d6c 100644 --- a/lisp/init-ess.el +++ b/lisp/init-ess.el @@ -5,20 +5,6 @@ (setq ess-use-ido nil) -(after 'ess-mode - (ess-add-style - 'km - '((ess-first-continued-statement-offset . 4) - (ess-continued-statement-offset . 0) - (ess-arg-function-offset-new-line . nil) - (ess-arg-function-offset . nil) - (ess-expression-offset . nil) - (ess-indent-level . 4) - (ess-brace-offset . 0) - (ess-else-offset . 0) - (ess-close-brace-offset . 0)))) -(setq ess-default-style 'km) - (add-to-list 'auto-mode-alist '("\\.[rR]\\'" . R-mode)) (define-abbrev-table 'ess-mode-abbrev-table -- cgit v1.2.3