1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-09-20 01:08:33 +03:00
kakoune/test/indent
Simon Fowler 83277d5545 Improve shell indentation implementation.
Use the custom object match command for copying indentation of blocks,
rather than simply increasing/decreasing indentation when start and end
statements are encountered.

This fixes an issue where a newline added after an already correctly
placed `else` or `fi` would trigger an unnecessary deindent. Tests have
been added to ensure no regression in this behaviour.
2020-09-26 22:10:31 +10:00
..
c-family Add c-family test cases for bad indentation edge case 2020-07-27 12:02:32 -06:00
clojure/doubled-brackets {clojure,lisp}.kak: handle doubled brackets 2020-01-03 15:14:56 -05:00
comment Add categories in rc/ 2019-03-21 01:06:16 +01:00
go Improve '}' auto inserting for go language. 2020-09-20 12:25:26 +02:00
haskell Add categories in rc/ 2019-03-21 01:06:16 +01:00
html [html] Fix indentation when entering a newline while in the middle of a tag 2019-11-03 12:25:02 +01:00
javascript/deindent-complex-brace-structure Add tests for javascript deindenting 2020-07-29 15:05:49 -06:00
lisp/doubled-brackets {clojure,lisp}.kak: handle doubled brackets 2020-01-03 15:14:56 -05:00
lua/insert-end-only-when-needed Add categories in rc/ 2019-03-21 01:06:16 +01:00
markdown Add categories in rc/ 2019-03-21 01:06:16 +01:00
ruby Add support for autoformatting after do keyword in Ruby 2019-06-12 09:03:24 +03:00
rust Merge remote-tracking branch 'pickfire/rust-highlight' 2020-07-31 07:50:14 +10:00
sh Improve shell indentation implementation. 2020-09-26 22:10:31 +10:00