File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 26
26
(require 'ansi-color )
27
27
28
28
(defcustom elixir-format-arguments nil
29
- " Additional arguments to 'mix format'"
29
+ " Additional arguments to 'mix format'. "
30
30
:type '(repeat string)
31
31
:group 'elixir
32
32
:group 'elixir-format )
Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ just return nil."
520
520
(forward-line 1 )))))
521
521
522
522
(defun elixir--docstring-p (&optional pos )
523
- " Check to see if there is a docstring at pos ."
523
+ " Check to see if there is a docstring at POS ."
524
524
(let ((pos (or pos (elixir-ppss-comment-or-string-start
525
525
(parse-partial-sexp (point-min ) (point ))))))
526
526
(when pos
Original file line number Diff line number Diff line change 219
219
(looking-back elixir-smie--operator-regexp (- (point ) 3 ) t ))))
220
220
221
221
(defun elixir-smie-current-line-contains-built-in-keyword-p ()
222
- " Return non-nil if the current line contains built in keywords with a `.' "
222
+ " Return non-nil if the current line contains built in keywords with a \" . \" . "
223
223
(save-excursion
224
224
(beginning-of-line )
225
225
(looking-at " .+\\ .\\ (case\\ |try\\ |if\\ |rescue\\ )" )))
292
292
(not (looking-back " .+fn.+" )))))))))
293
293
294
294
(defun elixir-smie--same-line-as-parent (parent-pos child-pos )
295
- " Return non-nil if `child-pos' is on same line as `parent-pos' ."
295
+ " Return non-nil if CHILD-POS is on same line as PARENT-POS ."
296
296
(= (line-number-at-pos parent-pos) (line-number-at-pos child-pos)))
297
297
298
298
(defun elixir-smie-forward-token ()
906
906
Rules:
907
907
1. If the previous line is empty, indent as the basic indentation
908
908
at the beginning of the heredoc.
909
- 2. If the previous line is not empty, indent as the previous line.
910
- "
909
+ 2. If the previous line is not empty, indent as the previous line."
911
910
(if (eq major-mode 'elixir-mode )
912
911
(if (elixir-smie--heredoc-at-current-point-p)
913
912
(let ((indent
You can’t perform that action at this time.
0 commit comments