summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-09-16 23:21:49 -0400
committerKyle Meyer <kyle@kyleam.com>2015-09-16 23:21:49 -0400
commit2fcb5775b6c43e45c4c0133c2aa1b80d55944d9f (patch)
tree455cdb8e12800d47d5d616895e9df698a9cd36bc /lisp
parent98185aef4227132ee374494c1e6c4cf850d0900f (diff)
downloademacs.d-2fcb5775b6c43e45c4c0133c2aa1b80d55944d9f.tar.gz
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-ess.el14
1 files changed, 0 insertions, 14 deletions
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