| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-08-06 | nil check for lines | ray-x | |
| 2022-07-29 | feat(ts_utils): allow starting selection after last character (#3233) | Axel Dahlberg | |
| 2022-04-21 | fix(ts_utils): fix swap_nodes after get_node_text change | francisco souza | |
| After some discussion, it looks like the easiest thing to do for now is to keep a private copy of get_node_text (just to skip the deprecation message) and invoke that, until core provides an equivalent function that can return the node content in a table representing the node "lines". Also fixes the statusline by calling the private version for get_node_text until a change is made in core. | |||
| 2022-04-18 | fixup: restore old implementation | Christian Clason | |
| 2022-04-18 | chore: deprecate ts_utils.get_node_text | Stephan Seitz | |
| 2022-04-16 | remove ignore_child_trees from get_node_at_position | Marcus Caisey | |
| 2022-04-16 | add ignore_injected_langs to get_node_at_cursor | Marcus Caisey | |
| 2022-02-03 | fix(utils): adjust truncation condition | Michael Lan | |
| 2022-01-15 | fix(util): pass offset_encoding to apply_text_edits | Christian Clason | |
| Offset encoding is a mandatory argument to `vim.lsp.util.apply_text_edits` since https://github.com/neovim/neovim/commit/bc722c8a74766e14aff3a8e2fc46db72ed864053 Since we are always within a Neovim context, we can just pass `"utf-8"`. | |||
| 2022-01-08 | Fix get_node_text | MDeiml | |
| 2022-01-04 | Fix: Account for winnr being nil in calls to get_node_at_cursor | Wil Thomason | |
| 2021-12-20 | goto_node: normalize range for nvim_win_set_cursor | Santos Gallegos | |
| Looks like neovim doesn't accept -1 on nvim_win_set_cursor. It's listed as an exception on `:h api-indexing`. Fixes https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/149 | |||
| 2021-11-12 | feat: get node at cursor of other win | Fabian David Schmidt | |
| 2021-09-24 | Use vim-range style (1-index based) when possible (#1841) | Santos Gallegos | |
| https://github.com/nvim-treesitter/nvim-treesitter/pull/1829 half fixed incremental selection for the vim parser, but other bugs still remain (infinite selection and skip selecting the root node). Problems can be replicated with these two files: (missing selecting the root node) ```vim set scrolloff=7 set scrolloff=7 ``` (infinite loop) ```vim set scrolloff=7 ``` The main problem is that we try to map the current selection range to a TS range, but the TS range of a node could include the EOL/EOL marks so it's impossible to know when to change the vim range to match the TS range, is more easy to transform the TS range to a vim range and do the comparison. | |||
| 2021-09-19 | Fix incremental selection for nodes that include EOL | Santos Gallegos | |
| From `:h setpos()` > If "col" is smaller than 1 then 1 is used. This can be tested with incremental selection on a vim file. ```vim set title ``` | |||
| 2021-07-04 | Use stylua for autoformat code (#1480) | Santos Gallegos | |
| 2021-03-30 | refactor(all): language tree adaption (#1105) | Steven Sojka | |
| 2021-02-27 | chore: remove useless code and indent files | kiyan | |
| 2021-02-21 | Add "v", "V", "<C-v>" as valid options of `selection_mode`. | echasnovski | |
| 2021-02-21 | Add `selection_mode` argument to `ts_utils.update_selection()`. | echasnovski | |
| 2021-01-08 | removed async changedtick | Brian Shu | |
| 2021-01-08 | async buf_attach | Brian Shu | |
| 2021-01-07 | removed async changedtick | Brian Shu | |
| 2021-01-07 | async buf_attach | Brian Shu | |
| 2020-11-23 | fix: update interface following languagetree merge (#687) | Thomas Vigouroux | |
| 2020-10-19 | Treesitter indent | kiyan42 | |
| also fixes the memoize_by_buf_tick function | |||
| 2020-08-31 | feat(refactor.navigation): add navigation.goto_{next,previous}_usage | Stephan Seitz | |
| 2020-08-17 | Textobjects: set jump before going to adjacent_textobject | Stephan Seitz | |
| 2020-08-17 | Textobjects: add swap feature | Stephan Seitz | |
| 2020-08-13 | fix(definitions): optimize and fix definition highlighting | Steven Sojka | |
| 2020-07-27 | configs: attach on unknown parsers too | Thomas Vigouroux | |
| 2020-07-20 | Fix #206: Use lsp.util.apply_text_edits for smart_rename | Stephan Seitz | |
| 2020-07-20 | Fixed to use normal! instead of normal | Steve Vermeulen | |
| 2020-07-16 | Refactor locals.lua: | Stephan Seitz | |
| - shared query group stuff -> query.lua - local-specific stuff from ts_utils -> locals.lua | |||
| 2020-07-16 | fix(ts_utils): be sure to parse to get root | Thomas Vigouroux | |
| Be sure to call `parser:parser()` to get a tree instead of getting the tree directly. This will not cost anything is the buffer is freshly parsed. Fixes #181 | |||
| 2020-07-15 | feat(textobjects): Add `start` to include preceding things like documentation | Stephan Seitz | |
| 2020-07-14 | Add textobjects module | Stephan Seitz | |
| 2020-07-13 | Add ts_utils.highlight_node | Stephan Seitz | |
| 2020-07-08 | fix(refactor): highlight def perf issue fix | Steven Sojka | |
| 2020-07-05 | Make luacheck happy | Stephan Seitz | |
| 2020-06-30 | refactor(refactor): use higher local apis and some cleanup | Steven Sojka | |
| 2020-06-30 | feat(refactor): add definition navigation module | Steven Sojka | |
| 2020-06-30 | feat(refactor): add smart rename module | Steven Sojka | |
| 2020-06-30 | feat(refactor): highlight usages module | Steven Sojka | |
| 2020-06-19 | add winnr to get_node_at_cursor | kiyan42 | |
| 2020-06-19 | refacto: remove buf_state | kiyan42 | |
| - remove buf_state and related code - add get_node_at_cursor() - better incremental selection (code is localized) | |||
| 2020-05-12 | refacto/feat: better handling of parser updates | kiyan42 | |
| features: - node_movement is moving between scopes. - add selection initialization from normal mode - add a decremental selection improvements: - attach to buffer to run tree parsing on change - run state update on CursorMoved - the buffer state is: ``` { cursor_pos = { row=row, col=col }, current_node = node_under_cursor, selection = { range = nil, -- activates when starting a selection nodes = {} -- filling up when starting an incremental selection }, parser = parser, -- parser for current buffer } ``` - refacto all the modules reliant on parsing the tree, update the current nodes, get the current nodes... fixes: - fix has_parser to look for .so libraries - fix should select the whole file when selection root in selection | |||
