summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/indent.lua
AgeCommit message (Collapse)Author
2022-07-21fix(indents): indents for error block (css, lua) (#3207)Kiyan
2022-07-17fix(indent): set only one autocmd for binding indentexpr (#3190)Kiyan
2022-04-30refactor!: update to Neovim 0.7 APIsChristian Clason
* set highlight groups via nvim_set_hl * define autocommands via nvim_create_autocmd * port plugin/nvim-treesitter.vim to Lua * port healthcheck to Lua
2022-02-06fix: Allow re-parsing in Python, XFAIL `\` indentation testStephan Seitz
2022-02-05fix(indents): ignore comment_parsers for indentationStephan Seitz
2022-02-05Update lua/nvim-treesitter/indent.luaStephan Seitz
Co-authored-by: Kiyan <yazdani.kiyan@protonmail.com>
2022-02-05workaround(indents): avoid reparsing for indent sensitive yaml/pythonStephan Seitz
2022-02-05fix(indents): re-parse before each indentStephan Seitz
2022-02-05indents(c): add zero_indent for #ifStephan Seitz
2022-02-05indents(c): fix indentation on block commentStephan Seitz
2022-02-05indents: refactor hanging indentStephan Seitz
2022-02-05indents: allow aligned_indent for unfinished calls in C and PythonStephan Seitz
2022-02-05indents(cpp): indent at field_initializer_listStephan Seitz
2022-02-05feat(indents): add support for language injectionStephan Seitz
2022-01-21feat(indent): ecma - support try_catch and if_elseMunif Tanjim
2022-01-21feat(indent): support `@aligned_indent` for pythonMunif Tanjim
2022-01-21refactor(indent): extract functions and support metadataMunif Tanjim
2022-01-21feat(indent): use native Query:iter_capturesMunif Tanjim
2022-01-21feat: rewrite indent moduleMunif Tanjim
2022-01-21feat: improve indent moduleMunif Tanjim
get_node_at_line should return appropriate child if available
2021-11-28fix: off-by-one errors in indent calculationoxalica
2021-07-04Use stylua for autoformat code (#1480)Santos Gallegos
2021-04-02fix: prev_node nil checkkiyan
2021-04-01fix: avoid infinite loop which causes some breakagekiyan
2021-04-01fix: indent on new linekiyan
2021-03-30refactor(all): language tree adaption (#1105)Steven Sojka
2021-03-22Fix indent sizeBrady Phillips
Indent size should equal shiftwidth, unless shiftwidth is 0 in which case tabstop should be used.
2021-02-22Fix indent sizeBonaBeavis
2021-02-04fixed #630yzia2000
2021-01-14indent: introduce @ignore to avoid indenting some nodes (e.g. comments)Jędrzej Boczar
2021-01-14indent: introduce @return to further tune indentation on `o`/`<cr>`Jędrzej Boczar
2021-01-14indent: improve behavior on `o`/`<cr>` in languages like PythonJędrzej Boczar
2021-01-14indent: fix wrong line number passed to descendant_for_rangeJędrzej Boczar
2021-01-04indent fixeskiyan42
2020-12-16fix: support shiftwidth for indents.Senghan Bright
2020-11-23fix: update interface following languagetree merge (#687)Thomas Vigouroux
2020-10-19Treesitter indentkiyan42
also fixes the memoize_by_buf_tick function
2020-10-19start indent modulekiyan42