Commit graph

7 commits

Author SHA1 Message Date
Steven Arcangeli
75de06f8ed lint: autoformat all tree-sitter query files 2024-06-01 20:50:39 -07:00
Steven Arcangeli
23a739c0ac refactor: rename @type capture to @symbol 2023-10-31 16:51:08 -07:00
Steven Arcangeli
661d0adaa4 feat: include receiver in golang methods (#194) 2022-12-26 09:08:52 -08:00
monaqa
87cede7ed1
rm language_kind_map; write "kind" in query file 2022-11-29 21:59:39 +09:00
Steven Arcangeli
480bf14332 fix: add interface type to golang treesitter backend (#180) 2022-11-08 09:03:38 -08:00
Steven Arcangeli
91350456c1 feat: add symbol ranges for treesitter and markdown (#52)
This adds support for the end_lnum and end_col fields to the treesitter
and markdown backends. Now all backends store both the start and the end
of a symbol. At the moment this is only being used for detecting exact
position matching, so the lualine component and highlighting when
`highlight_closest = false`.

This change also made the C, C++, and Julia treesitter backends a bit
more correct and robust.
2022-02-03 18:03:26 -08:00
Steven Arcangeli
48c68eb6a5 feat: treesitter support for go 2021-11-20 14:15:48 -08:00