Update ts modes missed in 4c16fd3a51
to use column-0
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules): * lisp/progmodes/go-ts-mode.el (go-ts-mode--indent-rules): Change point-min anchor to column-0.
This commit is contained in:
parent
0bfba49ca7
commit
246f5b541c
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@
|
|||
|
||||
(defvar go-ts-mode--indent-rules
|
||||
`((go
|
||||
((parent-is "source_file") point-min 0)
|
||||
((parent-is "source_file") column-0 0)
|
||||
((node-is ")") parent-bol 0)
|
||||
((node-is "]") parent-bol 0)
|
||||
((node-is "}") parent-bol 0)
|
||||
|
|
|
@ -557,7 +557,7 @@ a statement container is a node that matches
|
|||
(let ((common
|
||||
`(
|
||||
;; Slam all top level nodes to the left margin
|
||||
((parent-is "program") point-min 0)
|
||||
((parent-is "program") column-0 0)
|
||||
|
||||
;; Do not indent here docs or the end. Not sure why it
|
||||
;; takes the grand-parent but ok fine.
|
||||
|
|
Loading…
Add table
Reference in a new issue