* Add telescope highlighting
* Fix no TS language parser edge case
* Fix language detection for non-matching languages
* Remove nvim-treesitter dependency, streamline logic
* Change to show_columns option
* Update README
Some LSP servers are less than consistent with pushing diagnostics. For
this and other reasons, I think tying the symbol refresh to diagnostics
is maybe not the best move. The first step I'm going to take is to make
the default behavior use a simple change listener, like the treesitter
backend. I may eventually deprecate and remove this behavior entirely.
When moving away from nvim-treesitter helpers, I overlooked the caching
they were performing. This means that currently on every symbols
refetch, neovim scans filesystem and gets all queries. Definitely useful
when writing new queries, but slow nonetheless.
This commit introduces a simple query cache and an API method to clear
said cache. With this, performance should improve, yet a way to iterate
over query design remains accessible.
* Process scope captures
This lets us avoid complex querying when extracting scope.
As long as the capture includes a scoping node in a `@scope` capture,
its text will be extracted and used as a scope value.
If "public" is named differently in some language,
`#set @scope "text" "public"` will do the trick for a cost of an
additional query.
* Add basic query documentation to readme and vimdoc
* Add reusable language extensions info to readme
* Added aerial queries for objdump
Added objdump to minimal_init.lua
* ci: tests fail if changes to snapshot files
* cleanup: comments on test filetype special cases
* test: add objdump test snapshots
---------
Co-authored-by: Steven Arcangeli <stevearc@stevearc.com>
* feat: add new `AerialNormal` highlight as a fallback for all text
* [docgen] Update docs
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>