[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 12/46: Add `.' to electric-indent-chars for method continuations
From: |
Dmitry Gutov |
Subject: |
[elpa] 12/46: Add `.' to electric-indent-chars for method continuations |
Date: |
Sat, 15 Nov 2014 20:57:59 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 2ee1a1998ade53b8373f83d4ba00e476988f02ca
Author: Dmitry Gutov <address@hidden>
Date: Wed Jul 2 18:10:32 2014 +0300
Add `.' to electric-indent-chars for method continuations
#146
---
js2-mode.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/js2-mode.el b/js2-mode.el
index 2856105..54d7dcb 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -10373,7 +10373,7 @@ Selecting an error will jump it to the corresponding
source-buffer error.
(put 'js2-mode 'find-tag-default-function #'js2-mode-find-tag)
(set (make-local-variable 'electric-indent-chars)
- (append "{}()[]:;,*" electric-indent-chars))
+ (append "{}()[]:;,*." electric-indent-chars))
(set (make-local-variable 'electric-layout-rules)
'((?\; . after) (?\{ . after) (?\} . before)))
- [elpa] 04/46: Try to improve formatting, (continued)
- [elpa] 04/46: Try to improve formatting, Dmitry Gutov, 2014/11/15
- [elpa] 09/46: Rename mention of espresso-mode to js-mode, Dmitry Gutov, 2014/11/15
- [elpa] 10/46: js2-parse-array-literal: improve trailing comma warning, Dmitry Gutov, 2014/11/15
- [elpa] 07/46: Cut down on reserved words; improve error reporting, Dmitry Gutov, 2014/11/15
- [elpa] 11/46: Support yield*, Dmitry Gutov, 2014/11/15
- [elpa] 16/46: Support Unicode Identifiers, Dmitry Gutov, 2014/11/15
- [elpa] 17/46: Check if buffer is alive before reparsing., Dmitry Gutov, 2014/11/15
- [elpa] 19/46: Better docstrings, Dmitry Gutov, 2014/11/15
- [elpa] 14/46: Support ES6 generator comprehensions, Dmitry Gutov, 2014/11/15
- [elpa] 13/46: Support ES6 array comprehensions, Dmitry Gutov, 2014/11/15
- [elpa] 12/46: Add `.' to electric-indent-chars for method continuations,
Dmitry Gutov <=
- [elpa] 15/46: Add Contributing section, Dmitry Gutov, 2014/11/15
- [elpa] 24/46: Small tweak, Dmitry Gutov, 2014/11/15
- [elpa] 23/46: Add js2-language-version checks, Dmitry Gutov, 2014/11/15
- [elpa] 25/46: Ignore integer overflow, Dmitry Gutov, 2014/11/15
- [elpa] 26/46: Allow 'in' operator inside 'for' init when unambiguous, Dmitry Gutov, 2014/11/15
- [elpa] 27/46: Fix parsing of let expressions, Dmitry Gutov, 2014/11/15
- [elpa] 18/46: Merge pull request #149 from lewang/dont-parse-killed-buffer, Dmitry Gutov, 2014/11/15
- [elpa] 28/46: js2-parse-let: Simplify, Dmitry Gutov, 2014/11/15
- [elpa] 22/46: Support ES6 number literals, Dmitry Gutov, 2014/11/15
- [elpa] 21/46: js2-get-token-internal-1: add a FIXME, Dmitry Gutov, 2014/11/15