Commit graph

12 commits

Author SHA1 Message Date
Brady Phillips
bdbae28b24 Fix indent size
Indent size should equal shiftwidth, unless shiftwidth is 0 in which
case tabstop should be used.
2021-03-22 17:36:19 +01:00
BonaBeavis
be9c4ab36d Fix indent size 2021-02-22 18:17:46 +01:00
yzia2000
839f621955 fixed #630 2021-02-04 20:22:57 +01:00
Jędrzej Boczar
252472081e indent: introduce @ignore to avoid indenting some nodes (e.g. comments) 2021-01-14 13:54:43 +01:00
Jędrzej Boczar
5123231424 indent: introduce @return to further tune indentation on o/<cr> 2021-01-14 13:54:43 +01:00
Jędrzej Boczar
32cc79b7c9 indent: improve behavior on o/<cr> in languages like Python 2021-01-14 13:54:43 +01:00
Jędrzej Boczar
42bc217a54 indent: fix wrong line number passed to descendant_for_range 2021-01-14 13:54:43 +01:00
kiyan42
f2c219cddc indent fixes 2021-01-04 17:42:19 +01:00
Senghan Bright
d3180720f1 fix: support shiftwidth for indents. 2020-12-16 11:43:03 +01:00
Thomas Vigouroux
808765a6c8
fix: update interface following languagetree merge (#687) 2020-11-23 12:46:27 -06:00
kiyan42
1735528db5 Treesitter indent
also fixes the memoize_by_buf_tick function
2020-10-19 21:08:15 +02:00
kiyan42
36b5f6f075 start indent module 2020-10-19 21:08:15 +02:00