mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
; Fix 'lua-ts-mode' tests (Bug#77102)
* test/lisp/progmodes/lua-ts-mode-resources/indent.erts: Remove unintended use of tabs and make indentation settings buffer local.
This commit is contained in:
parent
22602f9c2c
commit
60e9195984
1 changed files with 9 additions and 9 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
Code:
|
Code:
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(setq lua-ts-indent-offset 2)
|
|
||||||
(setq indent-tabs-mode nil)
|
|
||||||
(lua-ts-mode)
|
(lua-ts-mode)
|
||||||
|
(setq-local indent-tabs-mode nil)
|
||||||
|
(setq-local lua-ts-indent-offset 2)
|
||||||
(indent-region (point-min) (point-max)))
|
(indent-region (point-min) (point-max)))
|
||||||
|
|
||||||
Name: Chunk Indent
|
Name: Chunk Indent
|
||||||
|
|
@ -805,9 +805,9 @@ end
|
||||||
|
|
||||||
Code:
|
Code:
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(setq lua-ts-indent-offset 4)
|
|
||||||
(lua-ts-mode)
|
(lua-ts-mode)
|
||||||
(setq indent-tabs-mode nil)
|
(setq-local lua-ts-indent-offset 4)
|
||||||
|
(setq-local indent-tabs-mode nil)
|
||||||
(indent-region (point-min) (point-max)))
|
(indent-region (point-min) (point-max)))
|
||||||
|
|
||||||
Name: End Indent 1
|
Name: End Indent 1
|
||||||
|
|
@ -1072,10 +1072,10 @@ end end end
|
||||||
|
|
||||||
Code:
|
Code:
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(setq lua-ts-indent-continuation-lines nil)
|
|
||||||
(setq lua-ts-indent-offset 2)
|
|
||||||
(lua-ts-mode)
|
(lua-ts-mode)
|
||||||
(setq indent-tabs-mode nil)
|
(setq-local lua-ts-indent-continuation-lines nil)
|
||||||
|
(setq-local lua-ts-indent-offset 2)
|
||||||
|
(setq-local indent-tabs-mode nil)
|
||||||
(indent-region (point-min) (point-max)))
|
(indent-region (point-min) (point-max)))
|
||||||
|
|
||||||
Name: Unaligned Continuation Indent
|
Name: Unaligned Continuation Indent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue