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:
Dmitry Gutov 2023-03-04 19:45:39 +02:00
parent 0bfba49ca7
commit 246f5b541c
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@
(defvar go-ts-mode--indent-rules (defvar go-ts-mode--indent-rules
`((go `((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) ((node-is "]") parent-bol 0)
((node-is "}") parent-bol 0) ((node-is "}") parent-bol 0)

View file

@ -557,7 +557,7 @@ a statement container is a node that matches
(let ((common (let ((common
`( `(
;; Slam all top level nodes to the left margin ;; 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 ;; Do not indent here docs or the end. Not sure why it
;; takes the grand-parent but ok fine. ;; takes the grand-parent but ok fine.