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 /scripts/write-lockfile.lua | |
| parent | fix(lua): correctly handle do_statement in locals (diff) | |
| download | nvim-treesitter-64ffea57f4280df3f7313ead41a589d8151115bc.tar nvim-treesitter-64ffea57f4280df3f7313ead41a589d8151115bc.tar.gz nvim-treesitter-64ffea57f4280df3f7313ead41a589d8151115bc.tar.bz2 nvim-treesitter-64ffea57f4280df3f7313ead41a589d8151115bc.tar.lz nvim-treesitter-64ffea57f4280df3f7313ead41a589d8151115bc.tar.xz nvim-treesitter-64ffea57f4280df3f7313ead41a589d8151115bc.tar.zst nvim-treesitter-64ffea57f4280df3f7313ead41a589d8151115bc.zip | |
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 'scripts/write-lockfile.lua')
0 files changed, 0 insertions, 0 deletions
