diff options
| author | oberblastmeister <61095988+oberblastmeister@users.noreply.github.com> | 2021-01-28 13:56:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-28 19:56:55 +0100 |
| commit | 64ffea57f4280df3f7313ead41a589d8151115bc (patch) | |
| tree | ac4b2528582a1a308b4f77b9f58e22f4d40badb4 /lua/nvim-treesitter/tsrange.lua | |
| parent | 12181e236ee4e565f9746037793abe4ae65caf46 (diff) | |
feat(query): add cache for get_query (#879)
* added cached to get_query
* added reload function
* fixed message
* added autocommand to reload cache on bufwrite for query file
* pass filename to autocommand v:lua fn
* removed comment
* added metatable
* fixed loop
* Update lua/nvim-treesitter/query.lua
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* Update lua/nvim-treesitter/query.lua
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* added do ... end to local query_cache
* made line shorter
Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
Diffstat (limited to 'lua/nvim-treesitter/tsrange.lua')
0 files changed, 0 insertions, 0 deletions
